I have a very basic @Html.TextAreaFor() on a form, and for some reason, the text area's value never makes it to my controller.


<p class="SmallText">(Multiple Entries Allowed)</p>
@Html.TextAreaFor(x => x.quickSearch, new { cols = 30, @rows = 5 })


public String quickSearch;


public ActionResult FindRecord(FindRecordViewModel Model)
    var ImNotCrazy = Model.quickSearch;

The problem is that when I debug Model.quickSearch is always null and never has a value.

Related posts

Recent Viewed