MenuItems do not expand

Only 2 mnenu items expand to 2nd level.
<tr>
        <td colspan="2" valign= "top" >
   
           <asp:menu id="NavigationMenu1" 
              staticdisplaylevels="2"
              staticsubmenuindent="2" 
              orientation="Horizontal"
              target="_blank"
              Font-names="Arial, Gill Sans"
              Width="600px"
              runat="server" Font-Size="12 px" StaticMenuItemStyle-ItemSpacing="2">

          <items>
            <asp:menuitem text="Home" tooltip="Home">
            
            <asp:menuitem text="Information" tooltip="General Information">
              <asp:menuitem text="Item 1" tooltip="Item 1"/>
              <asp:menuitem text="Item 2" tooltip="Item 2"/>
              <asp:menuitem text="Item 3" tooltip="Item 3"/>
            </asp:menuitem>
            
            <asp:menuitem text="Features" tooltip="Features">
              <asp:menuitem text="Item 1" tooltip="Item 1"/>
              <asp:menuitem text="Item 2" tooltip="Item 2">
                <asp:MenuItem Text="Subitem 1"/>
                <asp:menuitem Text="Subitem 2" />
              </asp:menuitem>
              <asp:menuitem text="Item 3" tooltip="Item 3"/>
            </asp:menuitem>
          </asp:menuitem>
          
          <asp:menuitem text="Membership" * This menu item does not expand. tooltip="Membership Information">
              <asp:menuitem text="Item 1" tooltip="Item 1"/>
              <asp:menuitem text="Item 2" tooltip="Item 2" />
              <asp:menuitem text="Item 3" tooltip="Item 3"/>
          </asp:menuitem>

        </items>
        </asp:menu>

         </td>  
      </tr>

Open in new window

MenuImage.jpg
DovbermanAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

robastaCommented:
The membership menuitem was outside the main menu item.

Use the attached menu:


(tip:to see a hierarchical view of the menu items in VS, select the whole menu, right click, and choose 'Format Selection')

<asp:Menu ID="NavigationMenu1" StaticDisplayLevels="2" StaticSubMenuIndent="2" Orientation="Horizontal"
            Target="_blank" Font-Names="Arial, Gill Sans" Width="600px" runat="server" Font-Size="12 px"
            StaticMenuItemStyle-ItemSpacing="2">
            <Items>
                <asp:MenuItem Text="Home" ToolTip="Home">
                    <asp:MenuItem Text="Information" ToolTip="General Information">
                        <asp:MenuItem Text="Item 1" ToolTip="Item 1" />
                        <asp:MenuItem Text="Item 2" ToolTip="Item 2" />
                        <asp:MenuItem Text="Item 3" ToolTip="Item 3" />
                    </asp:MenuItem>
                    <asp:MenuItem Text="Features" ToolTip="Features">
                        <asp:MenuItem Text="Item 1" ToolTip="Item 1" />
                        <asp:MenuItem Text="Item 2" ToolTip="Item 2">
                            <asp:MenuItem Text="Subitem 1" />
                            <asp:MenuItem Text="Subitem 2" />
                        </asp:MenuItem>
                        <asp:MenuItem Text="Item 3" ToolTip="Item 3" />
                    </asp:MenuItem>
                    <asp:MenuItem Text="Membership" ToolTip="Membership Information">
                        <asp:MenuItem Text="Item 1" ToolTip="Item 1" />
                        <asp:MenuItem Text="Item 2" ToolTip="Item 2" />
                        <asp:MenuItem Text="Item 3" ToolTip="Item 3" />
                    </asp:MenuItem>
                </asp:MenuItem>
            </Items>
        </asp:Menu>

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DovbermanAuthor Commented:
Thank you
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.