Empty URL In SiteMapNode
问题 I've got a SiteMap with blank URL attributes in each siteMapNode. Anyone know how to render them if the URL is blank? I'm doing a foreach against the SiteMap.CurrentNode and it doesn't retrieve siteMapNode elements that have empty URL attributes, but I do need to render them (just without a URL). Any ideas? 回答1: I do not know it's good or bad practice. But generally for such requirement I do use string "#" as empty url. It serves empty url purpose. 回答2: To render a site map node with a blank