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

Data rebinding on pagination

1 Answer 43 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jagat
Top achievements
Rank 1
Jagat asked on 04 Oct 2012, 04:51 PM
Have a simple question -  the purpose of this is to reduce the data transferred during every page request. 
Is there any way that when there is a postback, I can SELECTIVELY bind the data belonging to THAT specific page on the RadGrid?

The issue is that in our application, we have a grid.  We show maybe only 20 rows per page. There maybe twenty such pages.  When any one particular row is edited, I am rebinding the grid with ALL the data that fills up ALL the pages. I wish there is some way that I could rebind only the data that the user is looking at on that specific page.

Thanks in adavance for your response.

1 Answer, 1 is accepted

Sort by
0
Angel Petrov
Telerik team
answered on 08 Oct 2012, 04:17 PM
Hello Jagat,

You could use data source that supports paging like LinqDataSource for example. However if you have only 20 pages with 20 rows each you should not have any performance issues. You may experience performance problems if you have an extremely large number of columns. When using paging, RadGrid transfers only the data displayed in the current page. This performance optimization prevents loading the whole data every time as you know this is slow for big amounts of data.

Regards,
Angel Petrov
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
Jagat
Top achievements
Rank 1
Answers by
Angel Petrov
Telerik team
Share this question
or