Speed of items to load in treeview

4 posts, 0 answers
  1. Patrick
    Patrick avatar
    20 posts
    Member since:
    Aug 2013

    Posted 29 May 2015 Link to this post

    I'm loading about 2100 items in the treeview, top tier only, using incremental load for sub tier items.  The tree takes about 20 seconds to load, which will be a pain point to the end user.  I timed the server call to actually retrieve the 2100 items to populate, and that only takes about 1 second.  The rest of the time is spent loading the treeview client side.  Is there any way to make this faster?  I realize that's a lot of items and it might be unreasonable to expect it to load in just a few seconds.

     

    thanks

  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 02 Jun 2015 Link to this post

    Hello Patrick,

    Rendering 2100 TreeView elements is a resource heavy process, that we do not have an actual suggestion that will speed it up. The optimization that you can do is to enable the loadOnDemand option. but it will be valid for the child elements only, for the parent level there is no option that you can turn on in order to speed up the rendering.

    Regards,
    Kiril Nikolov
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Patrick
    Patrick avatar
    20 posts
    Member since:
    Aug 2013

    Posted 02 Jun 2015 in reply to Kiril Nikolov Link to this post

    Thanks, I didn't think so.  I swapped the current Telerik 2015 MVC for the 2014 and now it takes 3 seconds.  Seems to be something in the latest library
  5. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 02 Jun 2015 Link to this post

    Hello Patrick,

    Can you please provide a sample where we can reproduce the issue?

    Regards,
    Kiril Nikolov
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
Back to Top
UI for ASP.NET MVC is VS 2017 Ready