2016-03-08

Multi-Line Text Editor for a Field using MVC

When you would like to change simple text input into multi-line editor field, then change @Html.EditorFor helper with @TextAreaFor in your View.

@Html.TextAreaFor(model => model.body, 5, 50,  new { @class = "form-control" } )

No comments:

Post a Comment