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

How to change grid row background color on mouse move

3 Answers 215 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ofer
Top achievements
Rank 1
Ofer asked on 18 Jun 2009, 08:17 AM
I use the Aqua theme but need a different background color on the row that the mouse points to.

Where to change it?

Thanks!

3 Answers, 1 is accepted

Sort by
0
gerbrand
Top achievements
Rank 2
answered on 18 Jun 2009, 09:05 AM
Hi,

You can handle this in the MouseHover event of the radgrid. Don't have samples of it.

Gerbrand
0
Ofer
Top achievements
Rank 1
answered on 18 Jun 2009, 07:53 PM
Thanks but your answer doen't solve my problem.

the MouseHover doesn't supply any event args.

1) How to know which row the mouse is on?

2) How to know the previous row the mouse was on?
I can keep the previous row number in my code, it would be nice if the grid supplied this info.


Thanks!
0
Victor
Telerik team
answered on 19 Jun 2009, 12:21 PM
Hi gerbrand,

The best approach would be to create a theme with Visual Style Builder. You can see movies on how to use VSB on telerik.tv.

A bit off-topic: if your company has purchased our controls already, please ask the purchase holder to add you as a License Developer to the purchase. This will give you direct access to our support ticketing system and services. More on License Developers you can find here: www.telerik.com/account/faqs.aspx


All the best,
Victor
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
Ofer
Top achievements
Rank 1
Answers by
gerbrand
Top achievements
Rank 2
Ofer
Top achievements
Rank 1
Victor
Telerik team
Share this question
or