Pronunciation / adjective
Bringing something good and unforseen.
    Skip Navigation Links > Component Library > Checkboxlist Required Field Validator
   

The Fortunate.CheckboxlistRequiredFieldValidator lets you specify a minimum number of checkboxes that have to be checked and a maximum number of checkboxes allowed to be checked. For web development.

 

Fortunate.CheckboxlistRequiredFieldValidator

The RequiredFieldValidator can't be attached to a CheckBoxList. This leaves developers with server side validation as the only option for setting how many checkboxes must be checked in a checkboxlist control. The CheckBoxList RequiredFieldValidator allows a developer to set the max. and min. check boxes allowed. And will then validate both client and server side like the regular RequiredFieldValidator does. To see this in action set the max. and min. dropdowns below and then attempt to submit with less/more checked to see the component's behaviour.


Minimum checkboxes required:
Maximum checkboxes allowed: (Set to zero allows all)
Microsoft Certified Professional   © 2008 Fortunate.  All rights reserved.
contact: justin@aboutfortunate.com