All posts

SQL Server sorting, paging and filtering with RadGrid client-side data-binding to WebService

It is time to post new version of my 1 mil. records demo now with pure SQL Server paging, filtering & sorting. Basically this is very similar to how RadGrid will execute queries internally when you work with LinqDataSource, ObjectDataSource or ANY other DataSourceControl with built-in server paging.

Furthermore, RadGrid is smart enough to not request all items in your collection by default if not needed even when you use direct binding via DataSource property.

It is important to note that RadGrid will not oblige you to use any special DataSourceControl, class or interface!

Conclusion: When you combine pure server-side data operations with pure JSON transfer between client and server, you can boost the speed of your web application to a great extent.

[source code]

Enjoy!

Comments  3

  • 11 Jun, 12:42 AM

    Could you attach test database

    comment by: Dmitry
  • 16 Jun, 09:45 AM

    Hi Dmitry,
    Unfortunately the database file is too big to be attached here - you can generate locally a database with the same structure very easily.

    comment by: Vlad
  • 27 Jun, 01:52 AM

    Pingback from: http://blogs.telerik.com//RosenKonstantinov/Posts/08-06-27/radgrid_client_data_binding_and_ado_net_dataservices_example.aspx

    comment by: Rosen's Blog
Post a comment!
  1. Security image