1
Votes

Creating HTML Helpers with Extension Methods in ASP.NET MVC framework

published 912 days, 12 hours, 54 minutes ago posted by venkatvenkat 921 days, 4 hours, 30 minutes ago
Friday, August 07, 2009 3:53:41 AM GMT Wednesday, July 29, 2009 12:18:33 PM GMT

In last article, I explored Custom HTML Helpers by creating a static method that returns a string. In this article, I will explore HTML Helpers with Extension Methods. The HtmlHelper class provides a set of helper methods that generate plain HTML and return the result as a string. The extensions add helper methods for creating forms, rendering HTML controls and rendering partial views and they are located in the System.Web.Mvc.Html namespace. I will create submit confirm button that renders an HTML

Category: Technology | Clicked: 2 | | Source: www.fairnet.com | show counter code

No comments yet, be the first one to post comment.

To post your comment please login or signup