ASP.NET MVC3 ajax partial view refresh
问题 I am facing a problem with ajax updating of div in asp.net mvc3. I have a View with content <div id="post_comments"> @{Html.RenderPartial("_RefreshComments", Model);} </div> <div id="commentForm"> @using (Ajax.BeginForm("Details", new { id = Model.Post.PostId }, new AjaxOptions { HttpMethod = "POST", InsertionMode = InsertionMode.InsertAfter, UpdateTargetId = "post_comments" } )) { // form content goes here <p id="buttons"> <input type="submit" value="@Strings.Save" /> </p> } This is my