Archives

Archives / 2005 / October
  • Adding items to the end of a SiteMapPath

    This question came up on the ASP.NET forums and I thought it was worth mentioning here.  There are some instances when it would be useful to add an extra bit of detail to the end of a SiteMapPath.  For example, lets say there is a MultiView on the page and you'd like the Path to look like:

    Home >> Parent Page >> Current Page >> Current View

    A SiteMapResolve event handler wouldn't really work here since we need intimate knowledge about the current page's controls.  Here's a couple solutions.

    Read more...