Creating Custom HTML Helpers In ASP.NET MVC
Post on 18-Jul-2015
156 Views
Preview:
Transcript
About Me
• Lohith G N
• Microsoft MVP (ASP.NET/IIS)
• Author
• BDotNet
• @kashyapa
• http://about.me/kashyapa
HTML Helpers
• Method that returns String
• Avoid tedious typing of HTML Tags
• Render any content using Helpers
Standard HTML Helpers
• @Html.Label(), @Html.LabelFor()
• @Html.TextBox(), @Html.TextBoxFor()
• @Html.TextBox(), @Html.TextBoxFor()
• @Html.DropDownList(), @Html.DropDownListFor()
• …
top related