Alex Rivera | Logout

BreadCrumb trail MVC3 and Razor

Asked 2010-12-14T14:58:02.537
11

Anyone have an example of how to create a breadcrumb trail using the latest MVC3 release and razor syntax?

Edit
Report

1 Answer

6

To get the MvcSitemapProvider working do the following:

In your .sitemap file change:

<mvcSiteMap xmlns="http://mvcsitemap.codeplex.com/schemas/MvcSiteMap-File-2.0" />

to:

<mvcSiteMap xmlns="http://mvcsitemap.codeplex.com/schemas/MvcSiteMap-File-3.0" />
answered 2011-01-29T22:13:58.343

Your Answer