Pergunta

With the SiteMapPath control (navigation breadcrumbs), is there any way to NOT show the current node you are on? I only want to show the parents. There is a property to RenderCurrentNodeAsLink, but not what I'm looking for. Thanks!

Foi útil?

Solução

You can define an empty CurrentNodeTemplate:

<asp:SiteMapPath ID="yourSiteMapPath" runat="server">
    <CurrentNodeTemplate>
    </CurrentNodeTemplate>
</asp:SiteMapPath>
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top