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

Row Selecting on check box only

2 Answers 56 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rod
Top achievements
Rank 1
Rod asked on 13 Jan 2009, 01:14 AM
I'm using a RadGrid with row selecting enabled where one of the columns of the grid is a hyperlink column.
When the user clicks on a link, another window pops up with some information.

The row selection check boxes are there to allow the user to delete a row, but when they click on a link, sometimes that row will be selected.

I would like to allow the user to select a row by only clicking on the check box. The row doesn't even have to become highlighted, as long as the check box shows as checked and the row gets added to the SelectedRows collection on server side.

Please advise.

Regards,

Rod

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 13 Jan 2009, 03:38 AM
Hello Rod,

Go through the following code library submission which demonstrates on how to select grid rows only when a GridClientSelectColumn  checkbox is clicked.
ClientSideSelectColumn - Disallow other selection

Thanks
Princy.
0
Rod
Top achievements
Rank 1
answered on 13 Jan 2009, 04:29 AM
Thank You, Princy.

That worked perfectly.
Tags
Grid
Asked by
Rod
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Rod
Top achievements
Rank 1
Share this question
or