Note that there are some explanatory texts on larger screens.

plurals
  1. POWhitebox in menucontrol
    primarykey
    data
    text
    <p>Im trying to use the asp.net menucontrol but sadly without any luck. Here is what I have done.</p> <p>First i created a web.sitemap like this</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt; &lt;siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" &gt; &lt;siteMapNode url="Default.aspx" title="qaz.dk" description="" roles=""&gt; &lt;siteMapNode url="" title="Links" description="" roles=""&gt; &lt;siteMapNode url="" title="Computer" description="" roles=""&gt; &lt;siteMapNode url="as.aspx" title="Antivirus + Spyware" description="" roles="" /&gt; &lt;/siteMapNode&gt; &lt;siteMapNode url="" title="Other" description="" roles=""&gt; &lt;siteMapNode url="http://www.stackoverflow.com" title="StackOverflow" description="" roles="" /&gt; &lt;/siteMapNode&gt; &lt;/siteMapNode&gt; &lt;/siteMapNode&gt; &lt;/siteMap&gt; </code></pre> <p>Then I added the menucontrol to the masterpage and change some of the default values like this</p> <pre><code>&lt;asp:Menu ID="MenuControl" Orientation="Horizontal" runat="server" DataSourceID="SiteMapDataSource1" Font-Names="Courier New" ForeColor="#413D3D" DynamicEnableDefaultPopOutImage="False" DynamicHorizontalOffset="20" StaticDisplayLevels="1" StaticEnableDefaultPopOutImage="False" &gt; &lt;/asp:Menu&gt; &lt;asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" ShowStartingNode="false" StartingNodeOffset="0" /&gt; </code></pre> <p>The result looks like this <a href="http://foto.qaz.dk/menu.jpg" rel="nofollow noreferrer">alt text http://foto.qaz.dk/menu.jpg</a></p> <p>I was expecting the 'Computer' and 'Other' menu items to be displayed The size of the whitebox depends on the number of menuitems.</p> <p>When moving the mousepointer over the whitebox i doesnt expand.</p>
    singulars
    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.
    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