The mutuallyexclusivecheckbox control implements the check box mutex function.
Attribute list:
Targetcontrolid: ID of the Control
Key: key value of the mutex check box (the two mutex check boxes must be the same)
Example 1: simple implementation
1 <Form ID = "form1" runat = "server">
2 <div>
3 <asp: scriptmanager id = "scriptmanager1" runat = "server">
4 </ASP: scriptmanager>
5
6 </div>
7 <asp: checkbox id = "Net" runat = "server" text = "Net"/>
8 <asp: checkbox id = "jsp" runat = "server" text = "jsp"/> <br/>
9 <asp: checkbox id = "ASPnet" runat = "server" text = "ASPnet"/>
10 <asp: checkbox id = "Java" runat = "server" text = "Java"/>
11 <PC3: mutuallyexclusivecheckboxextender id = "mutuallyexclusivecheckboxextender1" runat = "server"
12 key = "one" targetcontrolid = "Net">
13 </PC3: mutuallyexclusivecheckboxextender>
14 <PC3: mutuallyexclusivecheckboxextender id = "mutuallyexclusivecheckboxextender2" runat = "server"
15 key = "two" targetcontrolid = "jsp">
16 </PC3: mutuallyexclusivecheckboxextender>
17 <PC3: mutuallyexclusivecheckboxextender id = "mutuallyexclusivecheckboxextender3" runat = "server"
18 targetcontrolid = "ASPnet" Key = "two">
19 </PC3: mutuallyexclusivecheckboxextender>
20 <PC3: mutuallyexclusivecheckboxextender id = "mutuallyexclusivecheckboxextender4" runat = "server" targetcontrolid = "Java" Key = "one">
21 </PC3: mutuallyexclusivecheckboxextender>
22 </form>