Form with list of checkboxes (best practices)

Posted by boris callens on Stack Overflow See other posts from Stack Overflow or by boris callens
Published on 2010-06-17T12:02:49Z Indexed on 2010/06/17 12:33 UTC
Read the original article Hit count: 181

Filed under:
|
|
|

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?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET