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

[Solved] how can i remove the default mouse over color on grid

2 Answers 282 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.
kumar p
Top achievements
Rank 1
kumar p asked on 11 Jun 2010, 09:45 AM
hi,
 i  am using  telerik1:StyleManager.Theme ="Office_Blue"  now by default i can see the gradient  orange color been show on grid on moving mouse  over the  row ,on grid column headers ,and even on the scroll bar.
i need  to remove this color ( i mean to say even on moving mouse overthe grid i dnt want to show any color on gridview headers, rows and even on the scroll bar)
by looking at the image  you can understand what  i am talking about image

any help  would be greatly appreciated
thanks
P kumar

2 Answers, 1 is accepted

Sort by
0
Kalin Milanov
Telerik team
answered on 14 Jun 2010, 10:14 AM
Hi kumar p,

What you need to do is find the element you want to remove the MouseOver effect from and edit its template. In the template find the MouseOver visual state and delete the animation it contains. Attached I am also sending you a sample application which removes the MouseOver effect from the GridViewRow. Please use this sample as a guideline on how to proceed with the rest of the elements.

Regards,
Kalin Milanov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
yang
Top achievements
Rank 1
answered on 10 Aug 2011, 09:36 AM
Hi Kalin ,
I used you code.but cant work.can u give me again?
Tags
GridView
Asked by
kumar p
Top achievements
Rank 1
Answers by
Kalin Milanov
Telerik team
yang
Top achievements
Rank 1
Share this question
or