Note that there are some explanatory texts on larger screens.

plurals
  1. PONavigation menuitems different when loading to the server
    primarykey
    data
    text
    <p>When I am on my local the menu items work perfectly there is 3 visible menuitems and when I hover over the first the drop down menu items appear. they are in a horizontal view and it looks great. when I load it up to my server the menu items become a list and the menu displays everything even the subcategory and it displays it vertically. I have tried using <code>RenderingMode="table"</code> that displays the 3 pages and not the sub category. I then added <code>staticdisplaylevels="3"</code> the categories and the subcategories are all listed in a horizontal line. the frame work on my local is <code>4.0</code> and the server is <code>4.0</code>. I have been trying this for several days and I just thought that I would post it up here for someone else to have a second look.</p> <p><strong>This is my master page navigation</strong></p> <pre><code>&lt;asp:Menu ID="NavigationMenu" runat="server" CssClass="menu" EnableViewState="false" IncludeStyleBlock="false" Orientation="Horizontal" Visible="false" onmenuitemclick="NavigationMenu_MenuItemClick" &gt; &lt;LevelSubMenuStyles&gt; &lt;asp:SubMenuStyle CssClass="level1" /&gt; &lt;asp:SubMenuStyle CssClass="level2" /&gt; &lt;asp:SubMenuStyle CssClass="level3" /&gt; &lt;/LevelSubMenuStyles&gt; &lt;StaticHoverStyle CssClass="hoverstyle"/&gt; &lt;Items&gt; &lt;asp:MenuItem NavigateUrl="~/page1.aspx" Text="Page1"&gt; &lt;asp:MenuItem Text="Sub1" Value="Sub1" NavigateUrl="~/page1.aspx" &gt; &lt;asp:MenuItem Text="Sub1.1" Value=" Sub1.1" /&gt; &lt;asp:MenuItem Text="Sub1.2" Value="sub1.2"/&gt; &lt;asp:MenuItem Text="sub1.3" Value= "sub1.3"/&gt; &lt;/asp:MenuItem&gt; &lt;asp:MenuItem NavigateUrl="~/page2.aspx " Text="Sub2" Value="Sub2"&gt; &lt;asp:MenuItem Text="Sub2.1" Value="sub2.1" /&gt; &lt;asp:MenuItem Text="Sub2.2" Value="sub2.2"/&gt; &lt;asp:MenuItem Text="Sub2.3" Value= "Sub2.3" /&gt; &lt;/asp:MenuItem&gt; &lt;/asp:MenuItem&gt; &lt;asp:MenuItem NavigateUrl="~/page3.aspx" Text="Page3"/&gt; &lt;/Items&gt; &lt;/asp:Menu&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="main"&gt; &lt;asp:ContentPlaceHolder ID="MainContent" runat="server"&gt; &lt;/asp:ContentPlaceHolder&gt; &lt;/div&gt; &lt;div class="clear"&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="footer"&gt; &lt;/div&gt; &lt;/div&gt; &lt;/form&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload