How to hide the (url) that shows up in my menu

Nov 28, 2012 at 4:48 AM
Edited Nov 30, 2012 at 2:25 AM

I've just installed version of MVC SiteMap provider using NuGet.

When my menu shows up it gets displayed like this:

o Home (/)
o About (/Home/About)
o Page 2 (/Page2)

... and so on.

All examples I've seen do not have the url shown in parentheses. Why is it showing for me? I don't want to display the path.

 --- it's now a few days later (Thursday 11-29-2012) and I've not seen any response to this. BUT - I figured out the problem. So, in case anyone else would happen to see this same problem ( and I highly doubt it ) here's my findings.

I use the Blueprint.css (it's cool if you haven't seen it - just google blueprint css) but it has css files for screen, print and ie. I had included all of these in my _Layout.cshtml but forgot to specify that the print.css only be included in the print media section. Apparently when using the print css it is trying to point out that the link resolves to a URL - hence for all links it puts the URL the link represents next ot the title but in parentheses.

So, I just commented out the print.css until I add the special media section in my Layout file.