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

How to set a row to selected style when an action column is clicked. i.e. GridButtonColumn or GridHyperLinkColumn

2 Answers 66 Views
Grid
This is a migrated thread and some comments may be shown as answers.
James Lin
Top achievements
Rank 2
James Lin asked on 25 Jun 2010, 08:46 PM
This would be useful when working through a batch of items to keep track the last touched row item. I tried setting AllowRowSelect but that requires the user to click somewhere else on the row to change the style, and not on button nor links. Thanks for any help on this.

2 Answers, 1 is accepted

Sort by
0
James Lin
Top achievements
Rank 2
answered on 29 Jun 2010, 06:05 PM
anyone?
0
Princy
Top achievements
Rank 2
answered on 30 Jun 2010, 07:46 AM
Hello James,

You can use GridButtonColumn with CommandName as 'Select' to achieve this.

ASPX:

<
telerik:GridButtonColumn ButtonType="PushButton" CommandName="Select" Text="Select" ></telerik:GridButtonColumn> 

Hope this helps,
Princy.
Tags
Grid
Asked by
James Lin
Top achievements
Rank 2
Answers by
James Lin
Top achievements
Rank 2
Princy
Top achievements
Rank 2
Share this question
or