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

[Solved] Select From Templated Dropdown Selects Row

1 Answer 104 Views
Grid
This is a migrated thread and some comments may be shown as answers.
AlanP
Top achievements
Rank 1
AlanP asked on 20 Mar 2008, 05:09 PM
Hi,

I have a grid with both a checkbox select column (with client and a templated column that contains an asp.net dropdown list. Clicking on the arrow to open the dropdown selects the row and checks the checkbox. How can I defeat this behavior. I really only want the row to be selectable using the checkboxes. I set

Grid.ClientSettings.Selecting.AllowRowSelect = False 

but this does not alter the behavior.

Thanks,

Alan Polk

1 Answer, 1 is accepted

Sort by
0
Leon
Top achievements
Rank 1
answered on 21 Mar 2008, 07:21 PM
Alan,

Clicking on the drop down shouldn't select the row, but as a work-around you can cancel the Selecting client-side event if the respective check box is not checked. The approach is demonstrated with the following Code Library project:

http://www.telerik.com/community/code-library/submission/b311D-ggmet.aspx

I hope this helps!

-Leon
Tags
Grid
Asked by
AlanP
Top achievements
Rank 1
Answers by
Leon
Top achievements
Rank 1
Share this question
or