Click here to Skip to main content
15,881,424 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
heyy..


I am using asp: menu control .. In that I have a main menu(horizontal) in that many menus(vertical)..In that vertical menu ,I have a problem that parent with child menu showing on bottom of menu..

But I want this menu on the center ..

Is there any properties that handle the menu..

here is my code :-


XML
<asp:Menu ID="Menu1" runat="server" Orientation="Horizontal" Width="450px" Height="100%">
               <DynamicMenuStyle CssClass="submenu" />
                  <LevelMenuItemStyles>
                      <asp:MenuItemStyle CssClass="level1" />
                      <asp:MenuItemStyle CssClass="level2" />
                      <asp:MenuItemStyle CssClass="level2" />
                      <asp:MenuItemStyle CssClass="level2" />
                      <asp:MenuItemStyle CssClass="level2" />
                  </LevelMenuItemStyles>
                  <DynamicMenuItemStyle CssClass="level2"   />
                  <Items>
                      <asp:MenuItem NavigateUrl="~/ContentPages/Common/HomeDashboard.aspx"
                          Text="Home" Value="Home"></asp:MenuItem>
                  </Items>
              </asp:Menu>
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900