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

by Vladimir Enchev | Comments 6
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!

,
Senior Technical Architect

6 Comments

Dmitry
Could you attach test database
Vlad
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.
Rosen's Blog
Pingback from: http://blogs.telerik.com//RosenKonstantinov/Posts/08-06-27/radgrid_client_data_binding_and_ado_net_dataservices_example.aspx
Rich_at_Delta
Could you attach a project file (or Solution), I am struggling to get my head around how to configure it up to run?
Lalit
Nice one Vlad. Only thing keeping us from using this is the need for grouping, which cannot be done client side. Any idea on how that may be possible?

Comments

  1.    
      
      
       
  2. (optional, emails won't be shown on public pages)
  3. (optional)
Read more articles by Vladimir Enchev - or - read latest articles in Developer Tools