SF 4.1 - SitefinitySiteMap and RadPanel
More SiteMap-related woes. As reported in other threads, asp:SiteMapPath is no longer working in 4.1.
In addition, I would also like to add that using the RadPanel with the SitefinitySiteMap provider is not working correctly. I can see the entire menu being ouput in the html, however, menus are not expanding when a sub-page is viewed. Here is the code that I am using (which was working fine in 4.0):
Menu.ascx
<asp:SiteMapDataSource ID="ds_SiteMap" runat="server" ShowStartingNode="false" SiteMapProvider="SitefinitySiteMap" /> <telerik:RadPanelBar ID="rad_PanelBar" runat="server" DataSourceID="ds_SiteMap" CssClass="MainMenu" EnableEmbeddedBaseStylesheet="false" EnableEmbeddedSkins="false" MaxDataBindDepth="3" />protected override void OnInit(EventArgs e) base.OnInit(e); this.rad_PanelBar.ItemDataBound += new Telerik.Web.UI.RadPanelBarEventHandler(rad_PanelBar_ItemDataBound); void rad_PanelBar_ItemDataBound(object sender, Telerik.Web.UI.RadPanelBarEventArgs e) if (((Telerik.Sitefinity.Web.PageSiteNode)e.Item.DataItem).ShowInNavigation == false) e.Item.Visible = false; Hello Ed Sirijintakarn,
The problem with the SiteMap is that you need to specify the SiteMap provider in your code. Please take a look at this forum thread, there's an active discussion going on concerning the reported problem, as well as several offered solutions. I hope you find this information useful.
Best wishes,
Boyan Barnev
the Telerik team