asp.net MVC3 partial view result not updating EditorFor value
问题 I have a simple email capture form as part of my home page, however when I return the partial view the model value for the Editor for form is not getting updated: The Model public class Contact { [Key] public int Id { get; set; } [Required] public string Email { get; set; } [NotMapped] public string Message { get; set; } } The Views @model TestApp.Models.Contact @{ ViewBag.Title = "Home Page"; } <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>