문제

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!

도움이 되었습니까?

해결책

You can define an empty CurrentNodeTemplate:

<asp:SiteMapPath ID="yourSiteMapPath" runat="server">
    <CurrentNodeTemplate>
    </CurrentNodeTemplate>
</asp:SiteMapPath>
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top