5
Shouts

Required CheckBox validation in ASP.Net MVC 2 onwards

published 847 days, 8 hours, 6 minutes ago posted by http://www.google.com/profiles/dougrathbonehttp://www.google.com/profiles/dougrathbone 849 days, 18 hours, 33 minutes ago
Sunday, January 23, 2011 12:43:41 PM GMT Friday, January 21, 2011 2:16:44 AM GMT

Having forms with checkboxes that require users to check them to be valid is a pretty common phenomenon on the internet today, however when thinking about this in terms of ASP.Net MVC it can not always be obvious what the best approach to take is. Thankfully the ASP.Net MVC team gave us the support to create a really simple solution when they added inheritable validation classes to the framework.

category: Web Dev | clicked: 4 | | source: www.diaryofaninja.com | show counter code
tags: ASP.NET MVC 3, ASP.NET MVC 2.0, C#