RadGrid inside of a Table AltRow color not working.

3 posts, 0 answers
  1. Dan Miller
    Dan Miller avatar
    23 posts
    Member since:
    Jul 2010

    Posted 04 Jul 2011 Link to this post

    I have a RadGrid using a custom skin that is inside of a row in a table with alternating row colors. The background color for the table row seems to be overriding the alternating row color for the RadGrid. i checked all the styles on my grid using Firebug and the .rgAltRow class is on my RadGrid row with the correct background color in the CSS. I have tried putting !important after the color and that changed nothing.

    .RadGrid_MailMerlin .rgAltRow
    {
        background: #ededed;
    }

    I have attached a screenshot of my grid. If you need any other code/css please let me know!

    Thanks in advance.

    Dan
  2. Galin
    Admin
    Galin avatar
    526 posts

    Posted 08 Jul 2011 Link to this post

    Hello Dan Miller,

    Perhaps you have set yellow background on the cells or other elements which hide the style of the row. However your way for setting the background color of the alternating rows is right.

    I hope this helps.

    Best wishes,
    Galin
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Dan Miller
    Dan Miller avatar
    23 posts
    Member since:
    Jul 2010

    Posted 08 Jul 2011 Link to this post

    Yes the table has a background color set on its cells. I will try playing with that and see if I can fix the problem thanks!
Back to Top