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

Color of RadGrid items...

6 Answers 96 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Anders
Top achievements
Rank 1
Anders asked on 12 Jan 2009, 06:12 AM
How do I change the color of the RadGrid background and mouse hover color.

6 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 12 Jan 2009, 07:42 AM
Hi Anders,

Please refer to our documentation:

RadControls for ASP.NET AJAX
> Controls
    > Grid
         > Controlling visual appearance

The above section contains the articles that you need.

Regards,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Anders
Top achievements
Rank 1
answered on 12 Jan 2009, 07:53 AM
I can't see how to edit the hover color.
My problem is, that right now I have a hover color that I want to remove. Can't localize where in the code the hover color is.
0
Dimo
Telerik team
answered on 12 Jan 2009, 08:17 AM
Hello Anders,

Hover styles in the embedded RadGrid skins are set by the following CSS rule:

.GridRowOver_SkinName
{
     background: ..... ;
}


You can either override the above rule by using another non-embedded rule:

tr.GridRowOver_SkinName
{
     background: ..... ;
}

or you can disable row hover styles completely by setting

<telerik:RadGrid>
     <ClientSettings  EnableRowHoverStyles="false"   />
</telerik:RadGrid>


All the best,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Anders
Top achievements
Rank 1
answered on 12 Jan 2009, 08:56 AM
Type 'Telerik.WebControls.GridClientSettings' does not have a public property named 'EnableRowHoverStyles'
?
0
Sebastian
Telerik team
answered on 12 Jan 2009, 09:08 AM
Hello Anders,

From the error details I see that you are using RadGrid for ASP.NET, not RadGrid for ASP.NET AJAX as specified in the forum thread details. In this case, please verify that you are using the latest version 5.15 of RadGrid for ASP.NET where this property should be recognized.

Best regards,
Sebastian
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Anders
Top achievements
Rank 1
answered on 12 Jan 2009, 09:15 AM
OK, Sorry. I'll start using the right forum.

I can't find this in my code:

.GridRowOver_SkinName
{
     background: ..... ;
}
Tags
Grid
Asked by
Anders
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Anders
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or