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

Rad Treeview Expander

1 Answer 117 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Sasireka
Top achievements
Rank 1
Sasireka asked on 06 Mar 2013, 11:55 AM
Hi,

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?

Regards,
Sasireka 

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 07 Mar 2013, 08:37 AM
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}"
            telerik:AnimationManager.IsAnimationEnabled="False"
            ItemTemplate="{StaticResource TreeItemTemplate}" />


Regards,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
TreeView
Asked by
Sasireka
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or