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

[Solved] Select All/Unselect all on grid rows

3 Answers 192 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Siddharth
Top achievements
Rank 1
Siddharth asked on 23 May 2008, 02:50 AM
Hi,

With grid rows having a select column, how could we have "Select All" and "Clear selection" functionality? Can we do this on the client-side?

Regards,

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 23 May 2008, 04:09 AM
Hi Siddharth,

Try setting AllowMultiRowSelection property to true.

ASPX:
<telerik:RadGrid ID="RadGrid1"  AllowMultiRowSelection="true"   > 

Client-side row selection

Thanks
Princy.
0
Siddharth
Top achievements
Rank 1
answered on 23 May 2008, 04:12 AM
Hi Princy,

I have enabled MultiRowSelection but what I want is the user to have the ability to select all rows on all the pages on the grid by a single-click, for instance to have a checkbox in the commandTemplate or somewhere - selecting which will select all the rows on all pages and de-selecting it will clear all selected rows, which is sort of an industry standard.
Also, this should happen without a post-back.

Regards,
0
Shinu
Top achievements
Rank 2
answered on 23 May 2008, 06:43 AM
Hi Siddharth,

Go through the following forum link.
How to get all rows, not only current page's row

Shinu.
Tags
Grid
Asked by
Siddharth
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Siddharth
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
Share this question
or