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

How highlight row in Gridview

2 Answers 139 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ianchuk Artem
Top achievements
Rank 1
Ianchuk Artem asked on 13 Aug 2009, 01:44 PM
Hi all.
I have page with gridview and button
Can anyone give me advice on- how highlight  selected row in Gridview by buttonClick?
For example user specify  first row and then hit button to highlight  row,
then specify one more row and press button again for highlight one more row.

Best regard  






2 Answers, 1 is accepted

Sort by
0
Ianchuk Artem
Top achievements
Rank 1
answered on 14 Aug 2009, 02:20 PM
No one ideas?
0
Vlad
Telerik team
answered on 17 Aug 2009, 06:40 AM
Hello,

You can use SelectedItem and SelectedItems to tell the grid which item(s) will be selected. I've attached small example to illustrate you this.

Greetings,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
GridView
Asked by
Ianchuk Artem
Top achievements
Rank 1
Answers by
Ianchuk Artem
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or