سؤال

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