ASP.NET MVC 3 Custom HTML Helpers- Best Practices/Uses
I use HtmlHelpers all the time, most commonly to encapsulate the generation of boilerplate HTML, in case I change my mind. I’ve had such helpers as: Html.BodyId(): generates a conventional body id tag for referencing when adding custom css for a view. Html.SubmitButton(string): generates either an input[type=submit] or button[type=submit] element, depending on how I want … Read more