CheckboxFor not binding with nested objects
问题 CheckBoxFor is not bounded when a property is defined in an object nested in the model? Here is an example. I have a SearchOptions model that contains a List<Star> property. Each Star has a number, a name and a bool property that should be bounded: public class SearchOptions { public SearchOptions() { // Default values Stars = new List<Star>() { new Star() {Number=1, Name=Resources.Home.Index.Star1, IsSelected=false}, new Star() {Number=2, Name=Resources.Home.Index.Star2, IsSelected=false},