This is a migrated thread and some comments may be shown as answers.

Sitemap Root Node Horizontal Menu

1 Answer 150 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 2
Joe asked on 21 Aug 2008, 06:16 PM
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

1 Answer, 1 is accepted

Sort by
0
Joe
Top achievements
Rank 2
answered on 21 Aug 2008, 07:29 PM
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....
Tags
Menu
Asked by
Joe
Top achievements
Rank 2
Answers by
Joe
Top achievements
Rank 2
Share this question
or