0

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

Laurence
  • 7,633
  • 21
  • 78
  • 129
  • The documentation suggests that `RenderCurrentNodeAsLink` is the property you're looking for, but the default value is `false`: http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.sitemappath.rendercurrentnodeaslink.aspx – Richard Deeming Nov 22 '12 at 14:14
  • OH Great ,, i overlooked this property .. that's the one I am looking for .. thanks .. – Laurence Nov 22 '12 at 14:38
  • you are welcome to promote your answer .. – Laurence Nov 22 '12 at 14:39

1 Answers1

0

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

Richard Deeming
  • 29,830
  • 10
  • 79
  • 151