0

Hello,
I am using a Menu Control & I have added Items in Menu Item Editor (both root & child). But in the browser the child items are not displaying. Running perfectly when my lecturer showed in his pc.

When I searched for this problem, I have seen some solutions explaining about SiteMap. I do not know about this sitemap & did not use it, just added items & I want them to be displayed in the browser with child items with StaticDisplayLevels=1. Tried with all the browsers but not working.

Thanks.

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by dotnextnewb
0
<asp:Menu ID="Menu1" runat="server" BackColor="#FFFBD6" 
            DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="Small" 
            ForeColor="#990000" StaticSubMenuIndent="10px" CssClass="adjustedZIndex">
            <DynamicHoverStyle BackColor="#990000" ForeColor="White" />
            <DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
            [B]<DynamicMenuStyle BackColor="#FFFBD6" CssClass="adjustedZIndex"/>[/B]
            <DynamicSelectedStyle BackColor="#FFCC66" />
            <Items>
                <asp:MenuItem Text="Home" Value="Home"></asp:MenuItem>
                <asp:MenuItem Text="Reports" Value="Reports">
                    <asp:MenuItem Text="Daily" Value="Daily"></asp:MenuItem>
                    <asp:MenuItem Text="Monthly" Value="Monthly"></asp:MenuItem>
                </asp:MenuItem>
                <asp:MenuItem Text="Contact Us" Value="Contact Us"></asp:MenuItem>
                <asp:MenuItem Text="About Us" Value="About Us"></asp:MenuItem>
            </Items>
            <StaticHoverStyle BackColor="#990000" ForeColor="White" />
            <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
            <StaticSelectedStyle BackColor="#FFCC66" />
        </asp:Menu>

I added that line & created a CSS file with code:

.adjustedZIndex
{
    z-index: 1;
}

Thats all... Its worked fine.
Can u tell me why this code made that much difference.. Im using IE8.

Edited by dotnextnewb: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.