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

ActiveItemStyle with Keyboard

1 Answer 31 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Piyush Bhatt
Top achievements
Rank 2
Piyush Bhatt asked on 08 Apr 2008, 09:22 PM
I set the ActiveItemStyle of a Grid and I have keyboard support enabled. I am using Vista skin.

When I press the Down/Up arrow keys each item first starts turning Green as per following style and then after all rows turn Green, then ActiveRow turns to the original setting from Vista skin.

            <ActiveItemStyle  CssClass="customSelectedRow" BackColor="#C8F415" />

Expected behavior is that when a row becomes active using Keyboard - its style should be as per the above 'ActiveItemStyle' and all other rows should be back to normal 'ItemStyle' or 'AlternatingItemStyle'.

Let me know if this is bug or I need to do something else.

-Piyush

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 09 Apr 2008, 01:59 PM
Hello Piyush,

Attached to this message, is a sample, which handles the requested functionality.
I hope this helps.

Best wishes,
Yavor
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Piyush Bhatt
Top achievements
Rank 2
Answers by
Yavor
Telerik team
Share this question
or