LevelSelectedStyles problem

J

Jeff

hi

asp.net 2.0

On my webpage I got this menu control. The items is added programmatically
to the menu. The menu consist of 2 levels. When a menuitem at 2. level is
selected then I want the menuitem to change it's appearens. So I added the
BackColor="Brown" but nothing is changed when I click on a menuitem...

any suggestions?

<asp:Menu ID="Menu1" runat="server"
OnMenuItemClick="Menu1_Click"
StaticDisplayLevels="3"
StaticMenuItemStyle-ForeColor="White"
StaticHoverStyle-Font-Underline="true" >

<LevelSelectedStyles>
<asp:MenuItemStyle BackColor="Brown" />
</LevelSelectedStyles>

<LevelMenuItemStyles>
<asp:MenuItemStyle Font-Bold="true" />
</LevelMenuItemStyles>
</asp:Menu>
 
J

Jeff

Okay, I've sovled it.. I had some buggy code, when those bugs was solved it
started to work
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top