LevelSelectedStyles problem

  • Thread starter Thread starter Jeff
  • Start date Start date
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>
 
Okay, I've sovled it.. I had some buggy code, when those bugs was solved it
started to work
 
Back
Top