ASP.NET MVC provides a lot of HTML Helpers that allow you to more easily with less code create your views. Typically navigation in MVC is done using the ActionLink HTML Helper that allows you easily generate an html anchor tag that will redirect to a specified controller and action. I found cases where I wanted my navigation to be done via a button rather than a link so I created my own HTML Helper to make this easier.
Code:
Example Usage:
Remember Me
a@href@title, strike
Keith Burnell is a Microsoft web MVP and Senior Software Engineer with Skyline Technologies and president of the Fox Valley .Net User Group. Keith has been developing software for over 10 years specializing in large scale ASP.NET and ASP.NET MVC web site development and architecture (more...)
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.