Treeview loading slow

2 posts, 0 answers
  1. Chanchal
    Chanchal avatar
    3 posts
    Member since:
    Jul 2013

    Posted 23 Jul 2014 Link to this post


    I am using two kendo tree views in my screen. The trees are taking long to load.  Each of the tree has around 200 nodes with checkbox. I added .LoadOnDemand(true), but not of much help. 

    I am populating treeviews models in C# and passing it to the razor views. I am attaching my treeview's razor files (CasTradeOrgnTreePartial.cshtml and CasTradeDestTreePartial.cshtml) and C# procedure (populate_tree_model_C#_procedure.cs) . 

    Please advise, how to speed up the tree loading time.


  2. Alexander Popov
    Alexander Popov avatar
    1436 posts

    Posted 27 Jul 2014 Link to this post

    Hello Manoj,

    The current approach uses server binding (passing the Model to the BindTo method) which loads all nodes at once despite that LoadOnDemand is enabled. I would recommend using Ajax binding, which will enable the TreeView widgets to load only the expanded node's children, thus reducing the load times to some extent.

    Alexander Popov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top