Hierarchical datasource for treeview upto 10 level

3 posts, 0 answers
  1. Prakash
    Prakash avatar
    4 posts
    Member since:
    Jan 2016

    Posted 25 Apr Link to this post

    Hi,

    I am using ASP.NET Web API Odata as server side code to render kendo treeview using hierarchical datasource upto child node level 5. This is really very slow. Now, I need to take it up to level 10. Can you suggest any other solution, apart from Odata, where I can go upto level 10?

  2. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 27 Apr Link to this post

    Hello Prakash,

    Is the performance problem on the server, or on the client-side? If you are using load on demand, only the amount of loaded data should affect the performance. If you could provide more details about the scenario (for example, a runnable demo, or the TreeView configuration), we can provide more help.

    Regards,
    Alex Gyoshev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Prakash
    Prakash avatar
    4 posts
    Member since:
    Jan 2016

    Posted 27 Apr in reply to Alex Gyoshev Link to this post

    Hello Alex,

     

    The performance issue was at the server side, because entity framework was creating a very long SQL query for odata. So, I was looking for some solution where I don't need to use odata type in the kendo treeview and yet get the treeview level upto 10. Anyways, I have resolved the issue by creating a recursive linq query on the server side and removed odata altogether.

     

    Thanks,

    Prakash Mishra

     

Back to Top