Wednesday, November 9, 2011

Razor controls for a textarea and a textbox

  1. @Html.TextAreaFor(model => model.ProgramFilter.ProgramName, new { @style = "width: 400px; height: 40px" })
  2. @Html.EditorFor(model => model.ProgramFilter.ProgramName)
Duh.

No comments:

Post a Comment