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
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