MVC 4 Ajax.BeginForm POST does not bind to model in conroller
问题 Sorry for the amount of code here but it's the best way to explain what;s happening. I gave this code in my MVC 4 partial view: <script src="~/Scripts/jquery.unobtrusive-ajax.js"></script> @using (Ajax.BeginForm("TestPost", new AjaxOptions { HttpMethod = "Post" })) { foreach (var d in Model.DataItemsWithLabels) { @Html.LabelFor(m => d.DataName) @Html.TextBoxFor(m => d.DataValue); } <input type="submit" value="Save" /> } And my controller action is as follows: public ActionResult TestPost