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

Custom paging in RadGrid

1 Answer 68 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sangram
Top achievements
Rank 1
Sangram asked on 15 Nov 2011, 12:35 PM
Hi, I hav 20000 data in database ,and i am fatching throw dataset ,i want to strore all 20000 data in a list ,and from list i want to show 1000 rows in rad grid by clientside only so no post back happen when i will go to next page ,i saw telerik exaple but these are not working can you please help me?

1 Answer, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 18 Nov 2011, 09:06 AM
Hi Sangram,

 You can configure client-side binding for the grid either using PageMethods or web services as shown these demos:
http://demos.telerik.com/aspnet-ajax/grid/examples/client/declarativedatabinding/defaultcs.aspx
http://demos.telerik.com/aspnet-ajax/grid/examples/client/databinding/defaultcs.aspx

But when you page the grid will still have to make a request to the web service or page method so that it can retrieve only the specified number of records for the page.
Also have in mind that rendering 1000 rows on single page will result in significant performance overhead because a lot of HTML will be generated on the page (some browsers may not be able to handle it).

Best wishes,
Marin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Grid
Asked by
Sangram
Top achievements
Rank 1
Answers by
Marin
Telerik team
Share this question
or