How can I return a JSON result to a Ajax.BeginForm
问题 I have got this simple form: @using (Ajax.BeginForm("CreateProductFromAjaxForm","Product" , null, new AjaxOptions() { HttpMethod = "post", OnSuccess = "getresult" }, null)) { @Html.EditorFor(m => m) <hr /> <div class="form-group"> <div class="col-md-offset-2 col-md-10"> <input type="submit" class="btn btn-info" value="Next" /> </div> </div> } And, for testing, a simple controller: [HttpPost] public JsonResult CreateProductFromAjaxForm(CreateProductModel model) { if (!ModelState.IsValid) {