Sitemap Root Node Horizontal Menu

2 posts, 0 answers
  1. Joe Hakooz
    Joe Hakooz avatar
    65 posts
    Member since:
    Dec 2007

    Posted 21 Aug 2008 Link to this post

    Hi,
    I found several posts related to this but nothing specific to my situation.

    I'm using Q2 2008 RadMenu and VB...

    I'm trying to use a sitemap with a Horizontal RadMenu. The problem is that once the root node is filtered out using ShowStartingNode="false", the RadMenu displays vertically. I tried adding <DefaultGroupSettings Flow="Horizontal" /> but that only works if the root node is showing.

    Any idea how to get this to work horizontally once the root node is "hidden"?

    Here's my code:
    --- aspx ---
    <telerik:RadMenu ID="RadMenu1" DataSourceID="SiteMapDataSource1" runat="server"></telerik:RadMenu>
    <asp:SiteMapDataSource ID="SiteMapDataSource1" ShowStartingNode="false" runat="server" />

    --- web.sitemap ---
    <?xml version="1.0" encoding="utf-8" ?>
    <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
      <siteMapNode url="default.aspx" title="I shouldn't be visible">
        <siteMapNode url="page1.aspx" title="Page 1" roles="Administrators,Supervisors" />
        <siteMapNode url="page2.aspx" title="Page 2" roles="Administrators" />
      </siteMapNode>
    </siteMap>

    Thanks for any help,
    Joe
  2. Joe Hakooz
    Joe Hakooz avatar
    65 posts
    Member since:
    Dec 2007

    Posted 21 Aug 2008 Link to this post

    My bad. Ignore my issue.

    The problem was that my menu was falling victim to a float:left style in the stylesheet. Removed that and the menu is rockin....
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top