Form with list of checkboxes (best practices)
- by boris callens
I have a view that allows the user to make a selection from an IEnumerable.
The way I'm doing it now is to give each checkbox the id of the item and work with the form collection at the controller's side.
I seem to remember there to be a better way but can't remember how anymore.
Are there any better practices?