0

I'm using this code to generate a breadcrumb:

<asp:SiteMapPath
runat="server" 
ParentLevelsDisplayed="5" 
SiteMapProvider="CurrentNavigation" 
RenderCurrentNodeAsLink="false"
SkipLinkText="" 
RootNodeStyle-CssClass="home" 
NodeStyle-CssClass="bc-node" 
CurrentNodeStyle-CssClass="current"/>

This generates the below breadcrumb:

Site Name > Page Name

How can I include the page folder structure within the breadcrumb?

Site Name > Folder 1 > Folder 2 > Page Name

Thanks

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.