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

Why is this style setting not working

1 Answer 55 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Perry
Top achievements
Rank 1
Perry asked on 27 Jun 2016, 02:39 PM

I have an aspx page with a master page and a css file set on the master page.  In my Rad grid I set the Heder Style to this

<HeaderStyle CssClass="Myheader" /> and in my .css file I added the following class:

.Myheader
{
    background-color:red !important
}

My Header still has a black background color

 

Can anyone see a problem here?

 

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 30 Jun 2016, 10:22 AM
Hi Perry,

You will need to remove the background-image of the header, similar to the approach demonstrated in the attached web site sample for the inner table view.

I hope this will prove helpful.

Regards,
Eyup
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Grid
Asked by
Perry
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or