DropDowns in pager template for page index/page size change

Thread is closed for posting
1 posts, 1 answers
  1. Answer
    Telerik Admin
    Telerik Admin avatar
    1696 posts
    Member since:
    Oct 2004

    Posted 22 Apr 2008 Link to this post


    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


    Browser support

    all supported by RadGrid for ASP .NET

    all browsers supported by RadControls for ASP .NET AJAX


    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.
Back to Top