RadGrid for ASP .NET version
RadControls for ASP .NET AJAX version |
RadGrid, RadAjax
2008.1.415 and later
|
.NET version |
NET 2.0 and later
|
Visual Studio version |
2005 and later
|
Programming language |
C#
|
Browser support |
all supported by RadGrid for ASP .NET
all browsers supported by RadControls for ASP .NET AJAX
|
PROJECT DESCRIPTION
The projects attached to this message demonstrate how to use MS DropDownLists/RadComboBoxes inside the pager template of RadGrid to switch the page index/change the page size for the control. Note that they are synchronized to work with the Next/Prev/First/Last buttons in the pager as well.
In a nutshell:
You need to intercept the ItemDataBound event of the grid to populate/select the proper item in the dropdowns residing inside the pager. Paging command from the image buttons is also trapped inside the ItemCommand handler to change the selected indices.