Dovberman
asked on
How to create a dropdown menu in ASP.NET 4.5
I am trying to create a dropdown menu
This is what I have:
<asp:Menu id="NavigationMenu" runat="server" Orientation="Horizontal" BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" DynamicHorizontalOffset="1 6" Font-Names="Arial,Gill,San s" Font-Size="12px" Height="32px" PathSeparator="," StaticDisplayLevels="2" StaticSubMenuIndent="2px" Width="545px">
<Items>
<asp:MenuItem NavigateUrl="~/Default1.as px" Text="Home" Value="Home"></asp:MenuIte m>
<asp:MenuItem NavigateUrl="~/AboutUs1.as px" Text="About Us" Value="About Us">
<asp:MenuItem NavigateUrl="~/AboutUs1Sub .aspx" Text="About Us Sub"
Value="About Us Sub">
</asp:MenuItem>
</asp:MenuItem>
</Items>
</asp:Menu>
I would like for About Us Sub to appear as a choice below About Us when About Us is clicked.
What do I need to change?
Thanks,
This is what I have:
<asp:Menu id="NavigationMenu" runat="server" Orientation="Horizontal" BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" DynamicHorizontalOffset="1
<Items>
<asp:MenuItem NavigateUrl="~/Default1.as
<asp:MenuItem NavigateUrl="~/AboutUs1.as
<asp:MenuItem NavigateUrl="~/AboutUs1Sub
Value="About Us Sub">
</asp:MenuItem>
</asp:MenuItem>
</Items>
</asp:Menu>
I would like for About Us Sub to appear as a choice below About Us when About Us is clicked.
What do I need to change?
Thanks,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Just what I needed.
Thanks
Thanks
ASKER
How do I get the selected dynamic menu item to remain visible with a lime background?
Where can I find documentation?
Thanks