asp:SiteMapPath doesn't work in 4.1

Posted by Community Admin on 04-Aug-2018 22:57

asp:SiteMapPath doesn't work in 4.1

All Replies

Posted by Community Admin on 25-Apr-2011 00:00

I have and asp:SiteMapPath control on the master page that shows breadcrumbs.  It worked fine in 4.0 and 4.0 SP1 but after upgrading to 4.1, it is completely blank. 

Showing the entire sitemap of the site still works fine, but the SiteMap.CurrentNode property is null on all public pages.  <siteMap defaultProvider="SitefinitySiteMap"> is still in place in web.config.

Posted by Community Admin on 26-Apr-2011 00:00

Hi Damian,

Try using SiteMapBase.GetActualCurrentNode() method to get the current node. The GetActualCurrentNode returns PageSiteNode object.

All the best,
Ivan Dimitrov
the Telerik team


Posted by Community Admin on 26-Apr-2011 00:00

That worked.  Thanks!

This thread is closed