Source code of the one million tree items example

5 posts, 0 answers
  1. Christian
    Christian avatar
    15 posts
    Member since:
    Apr 2009

    Posted 16 Feb 2010 Link to this post

    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.

  2. Nikolay
    Admin
    Nikolay avatar
    3997 posts

    Posted 16 Feb 2010 Link to this post

    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.
  3. Christian
    Christian avatar
    15 posts
    Member since:
    Apr 2009

    Posted 17 Feb 2010 Link to this post

    Hi Nick,

    Thanks for your quick reply and the solution. I'm looking forward to take a look at it.
    Regards
    Christian.
  4. Christian
    Christian avatar
    15 posts
    Member since:
    Apr 2009

    Posted 17 Feb 2010 Link to this post

    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
  5. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 17 Feb 2010 Link to this post

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