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

Select All in the GRID across pagination

1 Answer 165 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ayaskant
Top achievements
Rank 1
Ayaskant asked on 20 Jan 2011, 08:17 PM
Hi.
I am using teh Rad Grid control .
When i do a Select All (clint side) then all the items in the current page are getting checked.
 I want to check all the rows in the entire grid across pagination once I do a Select All.
Any help?
Server side / clent side solution for this stuff will be highly appreciated..
For Example( Lets assume i have 10000 records in the grid, with 10 pages,,when i do a "select all" i wanna be able to check all the 10000 records).

Thanks in Advance.

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 21 Jan 2011, 05:31 AM
Hello Ayaskant,

When paging is enabled in the grid, probably a solution would be to temporarily disable paging, loop through all the items in the grid and then enable paging back. You should review the following forum links that I found out which discuss on a similar scenario as yours:

How to preserve the state of the rows selected during traversal to other pages

Select all record with check box

Hope this helps..
Princy.
Tags
Grid
Asked by
Ayaskant
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or