ASP.NET MVC SiteMap provider — How to 'hide' single items in the actual menu
问题 I am using the ASP.NET MVC SiteMap provider in a project, and it is working great. I am having a tough time trying to figure out how to hide a menu item however. The menu item I want to hide from displaying in the global navigation is my "Site Map" page. Now I know that there is something called a VisibilityProvider available to me on the mvcSiteMapNode - but I can't seem to figure out how to make it work. 回答1: First, I suggest you read this wiki page: Creating a Custom