RadGrid set command line background color

3 posts, 0 answers
  1. Phil H.
    Phil H. avatar
    88 posts
    Member since:
    Nov 2008

    Posted 16 Feb Link to this post

    Hi All:

    How to set the RadGrid command line background color?  I am using the MetroTouch and I do not like the black header.  I've tried the following:

    .RadGrid_MetroTouch thead {
        background-color: #25a0da;
    }

    Phil

  2. Phil H.
    Phil H. avatar
    88 posts
    Member since:
    Nov 2008

    Posted 16 Feb Link to this post

    Found it:

    .RadGrid_MetroTouch tr.rgCommandRow
    { background-color: #25a0da; }

    Phil

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Viktor Tachev
    Admin
    Viktor Tachev avatar
    1488 posts

    Posted 19 Feb Link to this post

    Hi Phil,

    I am glad that you have found a solution. Thank you for sharing it so anyone trying to apply similar behavior would be able to use the approach.

    Generally when modifying the default styles for the controls with CSS you should use a rule with specificity that is higher than the default. Check out the following resources that describe specificity in more detail.


    Also you may find the following cheat-sheet useful:




    Regards,
    Viktor Tachev
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
Back to Top