CSharp:MVC HTML Helpers
From Aino Wiki
Default HTML Helper
- Html.ActionLink()
- Html.BeginForm()
- Html.CheckBox()
- Html.DropDownList()
- Html.EndForm()
- Html.Hidden()
- Html.ListBox()
- Html.Password()
- Html.RadioButton()
- Html.TextArea()
- Html.TextBox()
Esempio d'uso in una View usando Razor:
<p> Genere: @Html.DropDownList("movieGenre", "All") Titolo: @Html.TextBox("SearchString") <input type="submit" value="Filter" /> </p>
Custom HTML Helper
Guida da asp.net MVC HTML Helper