Ajax Mutually Exclusive Checkbox Extender

Blog Author


Published Date

20th September, 2018




  • Share this blog :

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.

About Author


Author Bio

TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills .

Related Blogs

Write For Us