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

Hierarchical datasource for treeview upto 10 level

2 Answers 115 Views
Hierarchical Data Source
This is a migrated thread and some comments may be shown as answers.
Prakash
Top achievements
Rank 1
Prakash asked on 25 Apr 2016, 09:24 AM

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 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 27 Apr 2016, 09:01 AM

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!
 
0
Prakash
Top achievements
Rank 1
answered on 28 Apr 2016, 04:54 AM

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

 

Tags
Hierarchical Data Source
Asked by
Prakash
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Prakash
Top achievements
Rank 1
Share this question
or