4 Answers, 1 is accepted
0
Accepted
Shinu
Top achievements
Rank 2
answered on 05 Feb 2010, 09:50 AM
Hi Arijit,
Add the following CSS for customizing the hovered and selected style.
CSS:
-Shinu.
Add the following CSS for customizing the hovered and selected style.
CSS:
<style type="text/css"> |
.rlbHovered |
{ |
background-color: Green !important; |
} |
.rlbSelected |
{ |
background-color: Red !important; |
} |
</style> |
-Shinu.
0
arijit
Top achievements
Rank 1
answered on 05 Feb 2010, 09:53 AM
You are great
Thank you.
Thank you.
0
arijit
Top achievements
Rank 1
answered on 05 Feb 2010, 11:01 AM
but if i put some color like
<style type="text/css"> |
.rlbHovered |
{ |
background-color: Green !important; |
} |
.rlbSelected |
{ |
background-color: Red !important; |
color: Black !important; |
} |
</style> |
It is not working, the font color is not changing, please help
regards
0
Hi arijit,
To override the color of the selected listbox item please use the following css rule:
This will increase the specificity of the rule and it will be applied.
I hope that this blog post will shed some light:
How To Override Styles in a RadControl for ASP.NET AJAX' Embedded Skin
Kind regards,
Veskoni
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
To override the color of the selected listbox item please use the following css rule:
div.RadListBox .rlbSelected .rlbText
{
color
: Blue;
}
This will increase the specificity of the rule and it will be applied.
I hope that this blog post will shed some light:
How To Override Styles in a RadControl for ASP.NET AJAX' Embedded Skin
Kind regards,
Veskoni
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.