我正在使用ASP.NETMVC中的Ajax.BeginForm来发布表单。我有一个正在使用AjaxOption的UpdateTargetId属性更新的div。现在我需要这篇文章来更新2个Div。我还需要返回2个不同的视图。Html.TextBox("viewName") %>
<input type="submit" value="Create a New View" /><br
以下是控制器代码: public ActionResult Index(CallRec objCallRec) // Add the record to the DB
ViewData["Message"] = MvcHtmlString.Create("(Your eference number for this lead is " + objCallRec.CustID + ")."