How can I hide the SiteMapPath root node on home page?
- by Jamie Ide
How can I hide the root node in a SiteMapPath control when the user is on the root node page? For example, my breadcrumb trail on a child page is:
Home Products Hammers Ball Peen
which is fine. But when the user is on the Home page, the SiteMapPath control displays
Home
which is useless clutter. I want to suppress displaying Home (the root node) when the user is on the home page. I have the SiteMapPath control in a master page. Also, I'm handling SiteMapResolve to set the querystrings in the nodes.