Hello,
I have a RadGrid on my webpage which has paging enabled, I also use the GridClientSelectColumn in order to select all displayed records. Here is an example:
In this example let's say I have 30 records that are returned but I have set the PageSize to 10 which would give me 3 pages of results. When I click the "select all" checkbox it only selects the 10 records of the displayed page. How can I get it so that the "select all" checkbox selects all 30 records, and not just the 10 displayed records without having to increase the PageSize property?
Thanks!
Jason
I have a RadGrid on my webpage which has paging enabled, I also use the GridClientSelectColumn in order to select all displayed records. Here is an example:
| <telerik:RadGrid ID="radgrdEvaluator" AutoGenerateColumns="False" AllowPaging="True" AllowMultiRowSelection="True" PageSize="10" runat="server"> |
| <MasterTableView DataKeyNames="EvaluatorID" ShowHeadersWhenNoRecords="True"> |
| <Columns> |
| <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn"> |
| <HeaderStyle Width="30px" HorizontalAlign="Center" /> |
| <ItemStyle Width="30px" HorizontalAlign="Center" /> |
| </telerik:GridClientSelectColumn> |
| <telerik:GridBoundColumn DataField="EvaluatorID" HeaderText="EvaluatorID" UniqueName="EvaluatorIDData"></telerik:GridBoundColumn> |
| </Columns> |
| </MasterTableView> |
| <ClientSettings EnableRowHoverStyle="True"> |
| <Selecting AllowRowSelect="True" /> |
| </ClientSettings> |
| <pagerstyle mode="NextPrevAndNumeric" AlwaysVisible="True" /> |
| </telerik:RadGrid> |
In this example let's say I have 30 records that are returned but I have set the PageSize to 10 which would give me 3 pages of results. When I click the "select all" checkbox it only selects the 10 records of the displayed page. How can I get it so that the "select all" checkbox selects all 30 records, and not just the 10 displayed records without having to increase the PageSize property?
Thanks!
Jason