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

Source code of the one million tree items example

4 Answers 82 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 16 Feb 2010, 11:13 AM

Hi Folks,

On this page:
http://www.telerik.com/products/silverlight/resources/silverlight-performance.aspx

a Telerik RadTreeView is presented wich has one milion items and which perfoms quite nicely. Would it be possible to get this example as a downloadable sample project? We are working with some RadTreeViews and have performance issues while using trees with 250 nodes. It would probably help us a lot to take a look at your implementation.
Thanks in advance.

Christian.

4 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 16 Feb 2010, 02:40 PM
Hello Christian,

Thanks for writing to us and your question. We have not uploaded the source files yet as there is a quite similar demo of the GridView in the online QSF and we are also planning to add a similar example about the TreeView to the QSF with Q1 2010 due in March. However, I uploaded the source code of the application to this thread. Please note that I included trial version of our latest internal assemblies that are not officially available yet.

Greetings,
Nick
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Christian
Top achievements
Rank 1
answered on 17 Feb 2010, 07:47 AM
Hi Nick,

Thanks for your quick reply and the solution. I'm looking forward to take a look at it.
Regards
Christian.
0
Christian
Top achievements
Rank 1
answered on 17 Feb 2010, 10:26 AM
Hi Nick,

The TreeViewPerformance project was very helpful. Since I could not find any bits of black magic in your code, I came to the conclusion, that the performance problem has nothing to do with the Telerik TreeView control itself. After some more investigation the bottle neck could be found: It is our custom theme which for some reason eats up cpu time like the cookie monster eats cookies.

Thanks again for the top-notch support.

Regards,
Christian
0
Valentin.Stoychev
Telerik team
answered on 17 Feb 2010, 10:34 AM
Hi Christian,

I'm glad you found the problem. Yes - basically having many UI elements in the ControlTemplate will slow - down the performance drastically and you should keep the amount of elements as small as possible to reduce the memory and CPU consumption.

Please let us know if you have any other questions

Best wishes,
Valentin.Stoychev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
TreeView
Asked by
Christian
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Christian
Top achievements
Rank 1
Valentin.Stoychev
Telerik team
Share this question
or