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

Treeview expand performance

1 Answer 46 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Ignas
Top achievements
Rank 1
Ignas asked on 21 Oct 2013, 07:10 AM
Hello

I have a radtreeview control in my application and a functionality to expand some nodes with a click of the button. Now it expands more than 3000 nodes and the performance is not so good as it tries to redraw the tree as it goes. The treeview is bound to ObservableCollection. What would be the best solution for performance here? Should i change binding to List and notify property changed in the end of my procedure or is there something better you could recommend?

1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 24 Oct 2013, 08:25 AM
Hi Ignas,

The RadTreeView control is designed to visualize large amount of hierarchical data and it exposes mechanisms which can boost the performance of the control if needed. One of these mechanisms is the UI virtualization.

By using this mechanism you will force the control to create the UI containers only for the items that can be visualized in the current viewport of the control. You can find more information about this feature here.

Please try the UI virtualization out and let us know your feedback.

Regards,
Pavel R. Pavlov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
TreeView
Asked by
Ignas
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or