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

How to get column values of selected rows(Rows for which checkbox is checked) in RadGrid

1 Answer 168 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Umesh
Top achievements
Rank 1
Umesh asked on 05 Mar 2009, 11:42 AM
Hello All,

I am using GridTemplateColumn in Radgrid which contains Checkbox in ItemTemplate.
I have used GridBoundColumn for binding data.
Now I want to find the column value( ex. InvoiceID ) of selected row( Rows for which checkbox is checked ) at client side(Using Javascript). Right now I want to pass these InvoiceID's of selected checkbox rows to other page.
I tried in many ways but failed to get it.
Is there any solution for it. 
Its Urgent..

Thanks & Regards,
Umesh 

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 05 Mar 2009, 12:06 PM
Hi Umesh,

I would suggest you to use a GridClientSelectColumn instead of using a GridTemplateColumn to select the Grid rows. Refer the following help article which explains how to access the key value for the selected row on the client side.
Extracting key values client-side
Getting cell values for selected rows client side

Thanks
Shinu
Tags
Grid
Asked by
Umesh
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or