Posted on: 11/15/2012 12:09:07 AM | Views : 333

Here is my simplified markup
<asp:Menu ID="MyMenu" runat="server" ClientIDMode="Static" StaticDisplayLevels="2" RenderingMode="List"> <LevelMenuItemStyles> <asp:MenuItemStyle CssClass="mlvl1" /> <asp:MenuItemStyle CssClass="mlvl2" /> </LevelMenuItemStyles> <LevelSelectedStyles> <asp:MenuItemStyle CssClass="mlvl1_sel" /> <asp:MenuItemStyle CssClass="mlvl2_sel" /> </LevelSelectedStyles> </asp:Menu>
At the final HTML, I expect "mlvl1_sel" or "mlvl2_sel" css class for the selected menu item.
But it goes like this
<a class="level2 mlvl2 selected static" href=".......some url....." />
How can I make use of the "selected" attribute's value where I already have css name "mlvl2_sel" ?
...

Go to the complete details ...