RadTreeView hangs after click

4 posts, 1 answers
  1. Cristian
    Cristian avatar
    1 posts
    Member since:
    Apr 2018

    Posted 23 Apr 2018 Link to this post

    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?

     

  2. Answer
    Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3462 posts

    Posted 24 Apr 2018 Link to this post

    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.
  3. Anusith
    Anusith avatar
    1 posts
    Member since:
    May 2018

    Posted 07 May 2018 in reply to Dess | Tech Support Engineer, Sr. Link to this post

    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.  

     

     

  4. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3462 posts

    Posted 07 May 2018 Link to this post

    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.
Back to Top