5 Answers, 1 is accepted
0
Princy
Top achievements
Rank 2
answered on 19 Oct 2011, 05:30 AM
Hello ShahabG,
You can set EnableSelection property as true and use "rmSelected" css class to style it.
CSS:
Thanks,
Princy.
You can set EnableSelection property as true and use "rmSelected" css class to style it.
CSS:
<style type=
"text/css"
>
.rmSelected
{
background-color
: Yellow
!important
;
}
</style>
Thanks,
Princy.
0
ShahabG
Top achievements
Rank 1
answered on 20 Oct 2011, 01:14 PM
Hi Princy
Thanks for the code, but it doesn't work. I have the menu in the master page
for example if we have to menu items:
Help About
When user select Help I want Help get back color of yellow, which show which page is user on.
Thanks
Thanks for the code, but it doesn't work. I have the menu in the master page
for example if we have to menu items:
Help About
When user select Help I want Help get back color of yellow, which show which page is user on.
Thanks
0
Hello Shahabg,
In case you use any of our predefined skin, changing the background color of a RadMenu item when it is selected will require you to use a different sprite image. Please take a look at this help article at it explains in details how this can be achieved.
Greetings,
Kate
the Telerik team
In case you use any of our predefined skin, changing the background color of a RadMenu item when it is selected will require you to use a different sprite image. Please take a look at this help article at it explains in details how this can be achieved.
Greetings,
Kate
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
ShahabG
Top achievements
Rank 1
answered on 20 Oct 2011, 06:12 PM
Hi
Thanks for the answer, but I don't want to change the skin, on the demo page for menu first look
http://demos.telerik.com/aspnet-ajax/menu/examples/default/defaultvb.aspx
if you select Sunset Skin, when you press the menu item the back color changes to yellow, which show which item is selected.
I need the same effect, but I have the menu in master page and each menu item is has URL to a page.
Thanks
Thanks for the answer, but I don't want to change the skin, on the demo page for menu first look
http://demos.telerik.com/aspnet-ajax/menu/examples/default/defaultvb.aspx
if you select Sunset Skin, when you press the menu item the back color changes to yellow, which show which item is selected.
I need the same effect, but I have the menu in master page and each menu item is has URL to a page.
Thanks
0
Hello Shahabg,
I understand that you need to change the yellow background color that is applied to the RadMenuItem when it is hovered. However, this color is not set using background-color:yellow but it is rather a sprite image that is applied to the item when it is hovered. Thus it is not only a single property that you need to overwrite but a whole sprite image that you need to alter and apply instead of the original one. Therefore I recommended the above article that explains how you can alter that color. Another approach would be to use our Visual Style Builder and implement your own custom skin.
Greetings,
Kate
the Telerik team
I understand that you need to change the yellow background color that is applied to the RadMenuItem when it is hovered. However, this color is not set using background-color:yellow but it is rather a sprite image that is applied to the item when it is hovered. Thus it is not only a single property that you need to overwrite but a whole sprite image that you need to alter and apply instead of the original one. Therefore I recommended the above article that explains how you can alter that color. Another approach would be to use our Visual Style Builder and implement your own custom skin.
Greetings,
Kate
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now