Geeks With Blogs
Shravan's Articles on .NET A .NET Blog March 2011 Entries
Creating Custom HTML Helpers in ASP.NET MVC
ASP.NET MVC provides many built-in HTML Helpers. With help of HTML Helpers we can reduce the amount of typing of HTML tags for creating a HTML page. For example we use Html.TextBox() helper method it generates html input textbox. Write the following code snippet in MVC View: <%=Html.TextBox("txtName... It generates the following html in output page: <input id="txtName" name="txtName" type="text" value="20" /> List of built-in HTML Helpers provided by ASP.NET MVC. ActionLink() - Links ......

Posted On Friday, March 18, 2011 7:30 PM

Copyright © Shravan Kumar | Powered by: