Why is this style setting not working

2 posts, 0 answers
  1. Perry
    Perry avatar
    26 posts
    Member since:
    Jul 2015

    Posted 27 Jun 2016 Link to this post

    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?

     

  2. Eyup
    Admin
    Eyup avatar
    3215 posts

    Posted 30 Jun 2016 Link to this post

    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.
Back to Top