Login Login
MORE

WIDGETS

Widgets

Wanted articles
Who is online?
Article tools

Difference between revisions of "CSharp:MVC HTML Helpers"

From Aino Wiki

Jump to: navigation, search
(Default HTML Helper)
 
(No difference)

Latest revision as of 16:16, 9 September 2014

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