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

[Solved] Shadow selection

1 Answer 104 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mike McDougall
Top achievements
Rank 1
Mike McDougall asked on 02 Oct 2009, 09:34 PM
When hovering over the rows in the gridview i get a shadow selection which is a lighter color then a real row selection which occurs once clicking the row.  How do I turn this off.

Thanks,
Mike

1 Answer, 1 is accepted

Sort by
0
Kalin Milanov
Telerik team
answered on 07 Oct 2009, 07:02 AM
Hi Mike,

To remove the MouseOver visual from the grid you will need to edit the template of the GridViewRow and modify its visual states. You will notice an element called SelectionBackground whose opacity is elevated to 0.5 when the mouse overs a row. What you will need to do is go to the MouseOver visual state and tone it down to 0.

I am also sending you sample application which achieves just that. You can use the row style and template from there and apply it to your grid.

Greetings,
Kalin Milanov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Mike McDougall
Top achievements
Rank 1
Answers by
Kalin Milanov
Telerik team
Share this question
or