Current filter:
                                You should refresh the page.
                                Support Center
                                0
                                  • When populate the TreeList with several nodes, if I over using the wheel of mouse during the popolate, I have a exception inside TreeList and view the control white with a red cross.

                                    The first question is: is it possible by code disable the mouse function wheel over the TreeList control?

                                    The second question is: have any idea why I have the exception?

                                    Thanks for any information.

                                    P.S.

                                    For performace reasons, the code to popolate the TreeList control is inside a BackGroundWorker

                                You must  log in  or  register  to leave comments

                                1 Solution

                                0

                                Hi,

                                Thank you for your message.

                                1. You can disable scrolling of TreeList when the mouse wheel is moved if you handle the TreeList.MouseWheel event and set the DXMouseEventArgs.Handled property to True:

                                	
                                [VB.NET]
                                Private Sub treeList1_MouseWheel(ByVal sender As Object, ByVal e As MouseEventArgs) DevExpress.Utils.DXMouseEventArgs.GetMouseArgs(e).Handled = True End Sub

                                2. It seems that this issue is caused by the fact that you access nodes or related TreeList data in a background thread. Please take a look at the Big red X: A control becomes crossed with red lines after an exception KB article to know possible issue reasons.

                                We hope that you find this information helpful.

                                You must  log in  or  register  to leave comments

                                To start a chat you should create a support ticket


                                If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, Silverlight, ASP.NET, WinForms, HTML5 or Windows 8, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2014 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners