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

Rad Grid - Click event of entire row

1 Answer 102 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Riz
Top achievements
Rank 1
Riz asked on 15 Sep 2011, 11:50 AM
Hi,

We have a grid having multiple columns. Few columns have text and few columns have links which take user to different pages.
I want that if user clicks any where in row ( not on links in columns ) the row gets selected ( like shown here ) and a server side event gets fired. I got success in this, but then the links in columns do not work too. Those links also fire the same Row click event.

How can I avoid this?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 15 Sep 2011, 12:15 PM
Hello Muhammad,

You can set the property UseClientSelectColumnOnly to true.
aspx:
<ClientSettings Selecting-AllowRowSelect="true">
   <Selecting UseClientSelectColumnOnly="true"/>
</ClientSettings>

Thanks,
Shinu.
Tags
General Discussions
Asked by
Riz
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or