I have developed a ASP.NET MVC 2 application and I want to put a simple breadcrumbs (sitemap) in each page like this:
Home > Movies > Details
It is equal the URL: http://localhost/home/movies/details
How can I achieve it? I would like to put it in my master page.
Thanks!
If it is always equal to the URL, the absolute simplest thing would be to make use of that by using something like this:
menuitemswould now contain the menu items you need to perform a simple foreach loop and build your menu.