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

Using ASP:Button or Dropdown to dynamically change pagesize

1 Answer 56 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 06 Jan 2011, 08:01 PM
I have a radgrid ( summary below )

 <telerik:RadGrid ID="rgrdAandE" runat="server" AutoGenerateColumns="false"  AllowPaging="true" AllowSorting="true" >
       <MasterTableView DataKeyNames="Hospital_No">
        <Columns>
           ......
         </Columns>
       </MasterTableView>
       <PagerStyle Mode="NumericPages" Position="Bottom" />
  </telerik:RadGrid>
   
I want to add a button or drop down so that the user can change the pagesize and then it automatically refreshes the grid. This is to allow for more rows to be shown on large monitors rather than a fixed page size.

Can anyone help
Thanks

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 07 Jan 2011, 06:02 AM
Hello Peter,

PagerStyle.Mode lets you specify what controls appear in the pager item to help users navigate through the pages. For more on this please go through the following documentation.
Pager item

Thanks,
Princy.
Tags
Grid
Asked by
Peter
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or