• USA : +1 973 910 5725
  • INDIA: +91 905 291 3388
  • info@tekslate.com
  • Login

Ajax Mutually Exclusive Checkbox Extender

Mutually Exclusive Checkbox Extender

This control is used with checkboxes to provide multiple options to the user using checkboxes and allow the user to select only one or none.

Properties

TargetControlID:

Key:

Used to specify a group name for checkboxes so that a set of mutually exclusive checkBoxExtenders will be treated as one group and allows the user to select only one or more from the group.

Example

The following Example demonstrates how to use mutually

Exculsive CheckBOXExtender Control

Add a page to the website and then place a Toolkit Script manager & three checkboxes on it and set their ID’s as C1, C2, &C3 respectively. Also set a caption for all three checkboxes.

Within HTML source of the page drag & drop three mutuallyExclusiveChackBoxExtender control and set following properties for it.

<asp : MutuallyExtensivecheck Box Extender ID=”MutuallyExclusivecheckBoxExtender1” runat=”server” TargetControlID=”C1” key=”MyGroup”>

</asp : MutuallyExculsivecheckBoxExtender>

<asp:MutuallyExclusiveCheckBoxExtender2 Id=”MutuallyExclusiveCheckBoxExtender2” runat=”server” TargetControlID=”C2” Key=”mygroup”>

</asp: MutuallyExclusivecheckboxExtender>

<asp: MutuallyExclusiveCheckBoxExtener ID=” mutually Exclusive CheckBoxExtender3” runat=”server” TargetControlID=”c3” Key=”MyGroup”>

</asp:MutuallyExclusiveCheckBoxExtender>

At runtime among these three checkboxes you can select only one or none, which is not possible with radio buttons.

Summary
Review Date
Reviewed Item
Ajax Mutually Exclusive Checkbox Extender
Author Rating
5

“At TekSlate, we are trying to create high quality tutorials and articles, if you think any information is incorrect or want to add anything to the article, please feel free to get in touch with us at info@tekslate.com, we will update the article in 24 hours.”

0 Responses on Ajax Mutually Exclusive Checkbox Extender"

Leave a Message

Your email address will not be published. Required fields are marked *

Site Disclaimer, Copyright © 2016 - All Rights Reserved.