When implementing a masterpage or page layout that needs to have breadcrumb, there are two providers for that, one that shows the entire path with list and folders and subfolders and other that only shows sites sub sites and page.

So the first one is to be used on Intranet’s the second can be used on both, but is more useful for Publishing Sites.

The providers are
SPContentMapProvider for Intranet’s and CurrentNavSiteMapProviderNoEncode for
Publishing Sites.

<asp:SiteMapPath SiteMapProvider=”SPContentMapProvider” id=”ContentMap” SkipLinkText=”” NodeStyle-CssClass=”ms-sitemapdirectional” PathSeparator=”»” runat=”server”/>

<asp:SiteMapPath SiteMapProvider=”CurrentNavSiteMapProviderNoEncode” id=”ContentMap” SkipLinkText=”” NodeStyle-CssClass=”ms-sitemapdirectional” PathSeparator=”»” runat=”server”/>

LEAVE A REPLY

Please enter your comment!
Please enter your name here