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

Kendo MVC ToDataSourceResult very slow with large data sets. Suggestion: make extensible.

2 Answers 460 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Trond
Top achievements
Rank 1
Trond asked on 26 Jul 2016, 09:03 AM

 

We all know ToDataSourceResult can be extremely slow with large data sets. A lot of times with comes down to this line:

        result.Total = data.Count();

 

The "solution" has been to change the Kendo  MVC source code or implement custom bingding.
I am sorry but this is not an acceptable "solution".

 

Make this call an extension method that one can override easily in our applications.

 

Best Regards

 

 

http://www.telerik.com/forums/unnecessary-(and-slow!)-sql-request-on-todatasourceresult

http://stackoverflow.com/questions/15843703/kendo-mvc-todatasourceresult-extremly-slow-with-large-iqueryable

https://www.google.no/search?q=kendo+result.Total+%3D+data.Count()%3B&oq=kendo+result.Total+%3D+data.Count()%3B&aqs=chrome..69i57.1071j0j7&sourceid=chrome&ie=UTF-8#q=kendo+ToDataSourceResult+slow

 

 

 

 

2 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 28 Jul 2016, 12:46 PM
Hi Trond,

Thanks for your feedback. I am sorry to hear that the default implementation of ToDataSourceResult does not fit your requirements.

I have forwarded your message to our devs for consideration.

In addition, please submit a feature request for the proposed change at our UserVoice portal. In this way other developers will be able to vote for it and we will be able to measure the popularity and prioritize accordingly. Thank you in advance.

http://kendoui-feedback.telerik.com/forums/127393-telerik-kendo-ui-feedback

Regards,
Dimo
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
0
Trond
Top achievements
Rank 1
answered on 01 Aug 2016, 01:59 PM

Thanks.

 

I will make a request.

 

Best Regards

Tags
Data Source
Asked by
Trond
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Trond
Top achievements
Rank 1
Share this question
or