Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Menu Control not displaying menu properly. Only shows static links. No Dynamic pop-outs when rendered.

Avatar of NMHGADM
NMHGADMFlag for United States of America asked on
Programming Languages-Other.NET Programming
1 Comment1 Solution666 ViewsLast Modified:
I have inserted a menu control into a page.  The control uses the web.sitemap as the datasource.  There are three levels to the menu. The first two levels are set to be static and the third level should be dynamic. I render the menu in IE the first two levels appears as a static menu, as they should.  But, the dynamic third level is not appearing when I hover over the menu items.  All of the documentation I have read indicates I have this control set up properly.  Any ideas as to why it is not rendering properly for me?

I am including the code for the menu control and the site map xml.  I am also attaching a screen shot of the behavior I am experiencing when hovering over a 2nd level menu item.




<!-- Menu Control -->
        <asp:Menu ID="Menu1" runat="server" BackColor="#FFFBD6"
            DataSourceID="SiteMapDataSourceHome" DynamicHorizontalOffset="2" 
            Font-Names="Verdana" Font-Size="0.8em" ForeColor="#990000" 
            Orientation="Horizontal" StaticSubMenuIndent="10px" BorderColor="#333333" 
            BorderStyle="Solid" BorderWidth="1px" StaticDisplayLevels="2">
            <StaticSelectedStyle BackColor="#FFCC66" />
            <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
            <DynamicHoverStyle BackColor="#990000" ForeColor="White" />
            <DynamicMenuStyle BackColor="#FFFBD6" />
            <DynamicItemTemplate>
				<%# Eval("Text") %>
			</DynamicItemTemplate>
            <DynamicSelectedStyle BackColor="#FFCC66" />
            <DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
            <StaticHoverStyle BackColor="#990000" ForeColor="White" />
        </asp:Menu>
        <asp:SiteMapDataSource ID="SiteMapDataSourceHome" runat="server">
		</asp:SiteMapDataSource>

<!-- Site Map XML -->

<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
  <siteMapNode url="Default.aspx" title="Home"  description="Home Page">
    <siteMapNode url="Default2.aspx" title="Test 1"  description="1st Page" >
      <siteMapNode url ="Default3.aspx" title ="Test 1 1" description ="1st Page 1st Sub Menu Item" />
    </siteMapNode>
    <siteMapNode url="Default4.aspx" title="Test 2"  description="2nd Page" >
      <siteMapNode url ="Default5.aspx" title ="Test 2 1" description ="2nd Page 1st Sub Menu Item" />
    </siteMapNode>
    <siteMapNode url="Default6.aspx" title="Test 3"  description="3rd Page" >
      <siteMapNode url ="Default7.aspx" title ="Test 3 1" description ="3rd Page 1st Sub Menu Item" />
    </siteMapNode>
  </siteMapNode >
</siteMap>
MenuControlScreenShot.gif
ASKER CERTIFIED SOLUTION
Avatar of NMHGADM
NMHGADMFlag of United States of America image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 1 Comment.
See Answers