MVC 3 AJAX Post, List filled with Objects, but Objects Properties are Empty
问题 I have the following problem: On a Button-Click I POST some data to the server. My controller Action looks like this: public ActionResult Accept(List<MyViewModel> entries) { //here entries HAS 2 MyViewModel-Instances in it. //The entries are not null, but the values of the instances are! //entries[0].ParamA is null } Where the MyViewModel looks like this: public class MyViewModel { public string ParamA { get; set; } public string ParamB { get; set; } } And the AJAX-Call is the follwing: var