I've been jumping through hoops to add an array of checkboxes to a View in an asp.net MVC project (using a custom jQuery plugin), but just realized it might be possible using the "in-the-box" functionality of the MVC / Razor extravaganza.
Theoretically, the following should work:
If a model has an array of bool, such as:
public bool[] chicagoBoolsFools { get; set; }
...calling this in the View:
@Html.EditorFor( model => model.chicagoBoolsFools)
...should create an array of checkboxes bound to the Model member.
Is this the case only in theory, or also in actuality?