ASP MVC Sitemap is there an Image HTML Helper?

lusso

New Member
I have an ASP MVC Sitemap which look something like this\[code\]<mvcSiteMapNode title="Home" imageUrl="home.png" controller="Home" action="Index"> <mvcSiteMapNode title="Search" controller="Search" imageUrl="magnifying_glass.png" action="Index">\[/code\]The nodes all have an 'imageUrl' property assigned to them which I would like to access within my view. I know there is a SiteMap helper included within the library which allows me to the get the title via\[code\]@Html.MvcSiteMap().SiteMapTitle()\[/code\]However, I can't see any way of obtaining the imgUrl. Before I write my own, does anybody know if this already exists? I've search around but can't find any way of doing it within the existing library.Thanks
 
Back
Top