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

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

    Posted 26 Jul Link to this post

     

    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. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 28 Jul Link to this post

    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.
  3. Kendo UI is VS 2017 Ready
  4. Trond
    Trond avatar
    2 posts
    Member since:
    Jul 2013

    Posted 01 Aug Link to this post

    Thanks.

     

    I will make a request.

     

    Best Regards

Back to Top