Custom binding and data loading

3 posts, 0 answers
  1. Jill-Connie Lorentsen
    Jill-Connie Lorentsen avatar
    118 posts
    Member since:
    Nov 2008

    Posted 30 Mar Link to this post

    I am using custom binding and have followed this documentation http://docs.telerik.com/kendo-ui/aspnet-mvc/helpers/grid/custom-binding

    I read the data from a database, I am wondering if there is a way NOT to do this every time the user goes to a new page, changes the sorting, filtering, page size etc?

     

    Regards, Jill-Connie Lorentsen

  2. Jill-Connie Lorentsen
    Jill-Connie Lorentsen avatar
    118 posts
    Member since:
    Nov 2008

    Posted 30 Mar Link to this post

    I've tried setting virtual scrolling = true, without any luck. 
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Rosen
    Admin
    Rosen avatar
    3237 posts

    Posted 01 Apr Link to this post

    Hello Jill-Connie,

    In order operations such as paging, sorting, filtering etc. to be handled on the server-side, every time event such as changing the paging, sorting by a field etc. occur an request to the server will be made in order the operation to be handled. If you wish to DataSource to handle the operations in-memory on the client-side, you could set the ServerOperation DataSource setting to false. However, you should be aware that in this case the built-in logic of the DataSource will kick-in and you will not be able to use custom binding.

    Regards,
    Rosen
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top