Tuesday, May 19, 2009

Ajax Mutually Exclusive Checkbox Extender

The Mutually Exclusive Checkbox extender can be applied to a collection of Checkobxes when we want the user to select only one checkbox from a collection of many. This can not be achieved with the normal checkbox (possible but not as possible as with the extender).


Steps to use Mutually Exclusive Checkbox Extender :



1. Add 2-3 Checkboxes on your webform.
2. Add the Mutually Exclusive Checkbox Extender to all the checkboxes.


3. Specify the following properties :


TargetControlID : The ID of Checkbox on which the Extender is to be applied.


Key : A common name given to all the extenders which makes all the checkboxes mutually exclusive for a given key name.




This is all that has to be done for using a Mutually Exclusive Checkbox Extender and your controls are ready to be used.



No comments:

Post a Comment