Rad Treeview Expander

2 posts, 0 answers
  1. Sasireka
    Sasireka avatar
    17 posts
    Member since:
    Nov 2012

    Posted 06 Mar 2013 Link to this post


    How to increase the speed of child node while expanding parent node in rad treeview?

    eg : Our application having more than 50 child nodes so it taking very slow while expanding a parent node. Is any way to increase the speed?

  2. Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 07 Mar 2013 Link to this post

    Hi Sasireka,

    The RadTreeView control supports two different data virtualization techniques - UIVirtualization and LoadOnDemand.  Using both together should optimize the performance of the RadTreeView. However, you still need to keep in mind that loading the child items on demand might initially take time depending on the logic that retrieves the children collection. If you'd like to test such a solution, you can examine the RadTreeView Virtualizaiton demo in the WPF examples.

    If you still experience a slow item expansion, you can also try disabling the RadTreeView Expand/Collapse animations through the AnimationManager.IsAnimationEnabled attached property:
    <telerik:RadTreeView Grid.Row="1"
                ItemsSource="{Binding Items}"
                ItemTemplate="{StaticResource TreeItemTemplate}" />

    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top