Whenever I select a row, the row highlight only takes up half the row, leaving the other half blank. Using the developer toolbar it looks like .rgSelectedRow isn't being applied.
4 Answers, 1 is accepted
0
Jayesh Goyani
Top achievements
Rank 2
answered on 02 Sep 2011, 06:26 AM
Hello,
background :url(Grid/sprite.png) #f8d05c repeat-x 0px -3900px;
You can modify the above css to as hown to below.
.Radgrid .rgSelectedRow
{
background-image:url(Grid/sprite.png) !important;
background-repeat: repeat-x !important;
background-position:0px -3900px !important;
background-Color:#f8d05c !important;
}
Let me know its worked or not
Thanks,
Jayesh Goyani
background :url(Grid/sprite.png) #f8d05c repeat-x 0px -3900px;
You can modify the above css to as hown to below.
.Radgrid .rgSelectedRow
{
background-image:url(Grid/sprite.png) !important;
background-repeat: repeat-x !important;
background-position:0px -3900px !important;
background-Color:#f8d05c !important;
}
Let me know its worked or not
Thanks,
Jayesh Goyani
0
Megan
Top achievements
Rank 1
answered on 02 Sep 2011, 03:15 PM
Unfortunately that solution didn't work. It still looks like .rgSelectedRow isn't being applied.
0
Megan
Top achievements
Rank 1
answered on 07 Sep 2011, 11:35 PM
If I use .RadGrid_Office2010Silver .rgSelectdRow > td {background-image:url(Grid/sprite.png) !important;background-repeat: repeat-x !important;background-position:0px -3900px !important;background-Color:#f8d05c !important} it applies the background-color, but not the background-image. Is this b/c it's trying to access a local image instead of the web resource?
0
Hello Megan,
In case you need just a solid color for background try the following CSS rule:
I hope this helps.
Best wishes,
Galin
the Telerik team
In case you need just a solid color for background try the following CSS rule:
div.RadGrid_Office
2010
Silver .rgSelectdRow td
{
background
:
#f8d05c
;
}
I hope this helps.
Best wishes,
Galin
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>