This is a migrated thread and some comments may be shown as answers.

RadTreeView hangs after click

3 Answers 139 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Cristian
Top achievements
Rank 1
Cristian asked on 23 Apr 2018, 01:25 PM

Hello there,

I have a telerik tree view with tens of thousands of nodes (around 190k). When I load this in most computers, it works ok, sometimes it takes a few seconds to open nodes, but that's acceptable for the number of nodes.

But, in some Windows 10 computers (not all of them), the tree takes more than 20 min to respond, if it ever does. This happens when clicking anywhere in the tree component (expand buttons, nodes, scrollbar...).

One of the computers details where it hangs is:

  • Windows 10 Enterprise (64 bit). Version 1703.
  • .NET 4.7.1
  • Telerik 2018.1.116.40
  • The laptop has a touch screen

After debugging I found the tree is stuck in GetChild() method (it loops through all the nodes, several times), from RadTreeViewAccessibleObject (attached call stack). This seems to come from windows messages.

Checking in computers where the tree doesn't hang, this call never happens, which makes me think it's a problem with the implementation of windows messages, in some specific version of windows + hardware.

Any ideas on how to fix or bypass this?

 

3 Answers, 1 is accepted

Sort by
0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 24 Apr 2018, 08:05 AM
Hello, Cristian,   

The provided detailed explanation is greatly appreciated. It seems that you encountered a known issue with RadTreeView when the Narrator is running. You can track its progress, subscribe for status changes and add your comments on the following link - feedback item.

Currently, the possible solution that I can suggest is to set the EnableRadAccessibilityObjects property to false.

In addition, i would recommend you to have a look at the load on demand functionality that RadTreeView offers. It may be more suitable for your scenario with such a number of nodes: https://docs.telerik.com/devtools/winforms/treeview/data-binding/load-on-demand


I hope this information helps. If you have any additional questions, please let me know. 

Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Anusith
Top achievements
Rank 1
answered on 07 May 2018, 10:28 AM

Dear Dess,

We also found the same problem as Cristian but we are still using Telerik  2012.2.608.40.  However, we could not find the EnableRadAccessibilityObjects property under this version.

Could you please advise how to fix the problem on this Telerik version?  In case it is required to buy or continue support license. We are happy to do so. 

We would be greatly appreciate.

 

Thanks.  

 

 

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 07 May 2018, 12:16 PM
Hello, Anusith,     

The EnableRadAccessibilityObjects property was introduced in Q3 2014 SP1 version. Please refer to the following feedback item: https://feedback.telerik.com/Project/154/Feedback/Details/109657-add-include-a-property-which-turns-off-the-creating-of-the-radcontrols-accessibl

Due to the implementation of RadTreeView in the specified version I am unable to propose a suitable workaround. I am sorry for the inconvenience caused. I would highly recommend you to upgrade in order to benefit from all the introduced improvements and new features during the 6 years versions gap. 

I hope this information helps. If you have any additional questions, please let me know. 

Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Treeview
Asked by
Cristian
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Anusith
Top achievements
Rank 1
Share this question
or