How can dynamic breadcrumbs be achieved with ASP.net MVC?

Sitemap’s are definitely one way to go… alternatively, you can write one yourself! (of course as long as standard MVC rules are followed)… I just wrote one, I figured I would share here. @Html.ActionLink(“Home”, “Index”, “Home”) @if(ViewContext.RouteData.Values[“controller”].ToString() != “Home”) { @:> @Html.ActionLink(ViewContext.RouteData.Values[“controller”].ToString(), “Index”, ViewContext.RouteData.Values[“controller”].ToString()) } @if(ViewContext.RouteData.Values[“action”].ToString() != “Index”){ @:> @Html.ActionLink(ViewContext.RouteData.Values[“action”].ToString(), ViewContext.RouteData.Values[“action”].ToString(), ViewContext.RouteData.Values[“controller”].ToString()) } Hopefully someone … Read more

Simple dynamic breadcrumb

This may be overkill for a simple breadcrumb, but it’s worth a shot. I remember having this issue a long time ago when I first started, but I never really solved it. That is, until I just decided to write this up now. 🙂 I have documented as best I can inline, at the bottom … Read more

How to disable breadcrumbs in Eclipse

If you are referring to the breadcrumbs in the help file of a RCP application, there is only a manual way to do it. Since Ganymede 3.4M5: Michael Borgwardt mentions the toolbar icon Slava Semushin provides a native shortcut based on Ctrl+3+bread, which points directly to the Toggle Java Editor Breadcrumb option. Shachi reminds us … Read more