Skip to content

MutuallyExclusiveCheckBox

MikhailTymchukDX edited this page Apr 29, 2016 · 2 revisions

MutuallyExclusiveCheckBoxExtender (demo)

MutuallyExclusiveCheckBox is an ASP.NET AJAX extender that can be attached to any ASP.NET CheckBox control. By adding a number of checkboxes to the same Key, only one check box with the specified key can be checked at a time. This extender is useful when a number of choices are available but only one can be chosen, similar to a radio button. The use of checkboxes however allows you to choose to uncheck a value, which is not possible normally with radio buttons. This also provides a more consistent and expected interface than using JavaScript to allow de-selection of a RadioButton item.

Properties

Name Description
Key A unique key to use to associate check boxes
Remarks: This key does not respect INamingContainer renaming

Client properties

Name Description
key A unique key to use to associate check boxes

Client events

Name Description
checked Fires when the check box is checked

Client properties

key

A unique key to use to associate check boxes

Getter name: get_key()
Setter name: set_key(value)

Client events

checked

Fires when the check box is checked

Add event handler method: add_checked(handler)
Remove event handler method: remove_checked(handler)
Raise event method: raise_checked()

Clone this wiki locally