سؤال

I am using asp.net built-in SitemapPath control as a breadcrumbs bar on a site. SitemapPath get the data from Web.Sitemap file. At the moment, if you click on the last item on the SitemapPath which will reload the same page again.

Can I make the last item of SitemapPath not clickable but other items still clickable to avoid users clicking on that last item.

Thanks,

L

هل كانت مفيدة؟

المحلول

The documentation suggests that RenderCurrentNodeAsLink is the property you're looking for, but the default value is false.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top