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

RadGrid -Row Selection style.

2 Answers 194 Views
Grid
This is a migrated thread and some comments may be shown as answers.
RJ
Top achievements
Rank 1
RJ asked on 16 Mar 2011, 12:53 PM


How can I get a custom style when the row is selected in the radgrid. I would like to set the backgroundImage and backgroundcolor.


Thanks.

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 16 Mar 2011, 02:27 PM
Hello RJ,

The following forum will help you to achieve this.
Rad Grid Selected Row Style
 
Thanks,
Princy.
0
RJ
Top achievements
Rank 1
answered on 17 Mar 2011, 02:50 AM

The following works fine in Firefox. However, it doesn't work in IE. Is there anything else I should be doing. Please advise.

 <SelectedItemStyle CssClass="rgSelectedRow" />

Css:
 .rgSelectedRow  td { 
      background-color:Black !important;
       background-image: url('..images/views.gif') !important;
       
     } 

Thanks
RJ
Tags
Grid
Asked by
RJ
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
RJ
Top achievements
Rank 1
Share this question
or