How can I make the selected row style the same as the highlighted row style

2 posts, 0 answers
  1. Chris May IT Team Lead
    Chris May IT Team Lead avatar
    31 posts
    Member since:
    Nov 2009

    Posted 24 Aug 2011 Link to this post

    Hello,

    I have a RadGrid which has a skin of WebBlue. I have turned the EnableHoverStyle on and the AllowRowSelect is also True.
    How can I make the selected row style the same as the highlighted row style?
    I know I can edit the Selected row style manually but I just want it to be exactly the same as the hover style.

    Thank You
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 29 Aug 2011 Link to this post

    Hello Patrick,

    You can try the following CSS to achieve your scenario.
    CSS:
    <style type="text/css">
      .RadGrid_WebBlue .rgSelectedRow
      {
        background: Red !important;
        border-top: solid 1px #e9e9e9;        
      }
      .RadGrid_WebBlue .rgHoveredRow
       
         border-top: solid 1px #e9e9e9;
         background: Red !important;
       }
    </style>

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top