ASP.NET - Highlight the menu item ..
Asked By Hari krishna s on 08-May-12 07:21 AM
how to do highlight the menu control after click the item in asp.net using css styles...
plz send the code...Thanks In adv..
[)ia6l0 iii replied to Hari krishna s on 09-May-12 10:23 AM
You need to use the "StaticSelectedStyle" element to style the selected menu items. Here's a sample.
<staticselectedstyle backcolor="Gray" bordercolor="Red" borderstyle="Solid" borderwidth="2"/>
Also, note that you should not set the "IncludeStyleBlock" property to false - which means that you will provide the styles for the selected items.
Hope this helps.