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

Page Navigation

1 Answer 75 Views
Grid
This is a migrated thread and some comments may be shown as answers.
DQ
Top achievements
Rank 1
DQ asked on 15 Aug 2012, 10:51 PM

Hi All,

I have a couple of questions:

1. How do I trap the nextpage event when users click on a page number or the next/previous etc..?
2. How do I refresh the RadGrid to show the data on the page after users navigate to next/previous page (hopefully it happens on client side)
3.  Can you lead me to a webpage/instruction regarding page navigation handling?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 20 Aug 2012, 09:37 AM
Hello,

 The grid automatically supports paging on the server and on the client depending on what type of databinding you use.
The standard case is RadGrid databound on the server and you only need to set AllowPaging="true". The grid will automatically handle the necessary operations.
More information can be found in this demo and help topic.
In case the RadGrid control is bound using a client-side binding through a web service the paging is automatically performed on the client-side as shown in this demo.
If the default paging feature of the grid does not suit your needs and you need more customization you can enable the custom paging of the grid which uses your own custom logic to return the desired number of records for a certain page.

All the best,
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
DQ
Top achievements
Rank 1
Answers by
Marin
Telerik team
Share this question
or