Download the Fortunate Library Here:
Fortunate Library 32bit - Stand-Alone Install
Fortunate Library 64bit - Stand-Alone Install
Fortunate Library Solution - Source Code
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 fixes this shortcoming. Its features are as follows:
- Allows a developer to set the max. and min. check boxes allowed.
- Validates both client and server side like the built-in RequiredFieldValidator does.
- Automatically detects and works with Ajax pages.
- Cross-Browser functionality - tested with the latest versions of IE, Firefox, and Safari.
To see the control in action just attempt to submit correct and incorrect choices for the check box list below. You may change how many checkboxes must be checked and the maximum allowed to be checked with the drop down lists.
|