New Visibility_Type suggestion...

Sep 24, 2009 at 3:54 PM

I have a situation where I have a page that I want viewed in the bread crumb but not by using the sitemap helper. ex: Home > Contact Us > Thanks.  I do not want this page shown in the sitemap (<%=Html.SiteMap(Model)%>).  Currently my only options are "Full" and "InSiteMapPathOnly". 

Sep 28, 2009 at 8:25 AM

InSiteMapPathOnly should do the trick.

Oct 9, 2009 at 4:09 PM

It currently does not.   The MenuHelper class checks for visiblity, but the SiteMapController class doesn't.

In the same vein, I'd to see a fourth type of visiblity - one that only shows up in the SiteMap as an unclickable entry, but is ignored in displaying breadcrumbs.  It'd be for grouping entries that are related, but don't have a separate page just for them.  Example: My administration page has links to everything that can be administered.  In displaying on the sitemap, I'd like to group them by type, so they're easier to find, but there's no reason that grouping should show up in the breadcrumbs.