Login Login
MORE

WIDGETS

Widgets

Wanted articles
Who is online?
Article tools

CSharp:MVC HTML Helpers

From Aino Wiki

Jump to: navigation, search

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



C Sharp | MVC | MVC View


Visual Studio

Author