I am designing a new system with mvc 3 and with google I ended up reading so many links on stackoverflow mostly that had references to Pre-mvc release and mvc1 and some mvc2 and literally EVERYONE was presenting what they "felt" was a "good" way of doing checkboxes. I have 4 different mvc 2 books, but I do not want to rely on those (unless I don't get a current up to date response) as razor was not a part of mvc 2 as well as new tooling, thus once the mvc 3 books are officially out I would/will rely on them.
In the interim: I need to display some pages that have mutually exclusive checkboxes or other pages that don't need this. Thus some pages need to only allow for 1 checkbox and have Jquery to ensure this is happening, then on submit that I'm able to capture the box that was check. Then there are pages that need to allow for multiple checkboxes to be checked and that I will know on submit of all the ones checked. Seems that I had this ironed out with other languages including asp.net web forms, but I just wante开发者_开发问答d to ask the question as I am getting a dozen different solutions many of which are 1-3 years old. Thanks in advance.
精彩评论