0

I have a check box list which is binded from code behind. There can be at time one check box, two or more. I want to add mutual exclusion property on the same. Is there a way to do so. All the articles I am searching are creating static check box list. Tried adding Ajax extender but no help.

Below is my code so far:

<asp:CheckBoxList ID="LifeAccChk" runat="server" CssClass="itemRightAlign" />
 <asp:MutuallyExclusiveCheckBoxExtender ID="MutuallyExclusiveCheckBoxExtender1" runat="server" Key="Life" TargetControlID="LifeAccChk">
</asp:MutuallyExclusiveCheckBoxExtender>
Incredible
  • 3,495
  • 8
  • 49
  • 77
  • A "mutually exclusive checkbox" is a radiobutton – Liam Jan 23 '14 at 13:17
  • I need a checkbox only, as radiobutton once checked cannot be unchecked easily, Any clue with checkbox? – Incredible Jan 23 '14 at 13:20
  • why not just have a "none" option? the advantage of a radio button is the user will know implicitly that it is mutually exclusive. This isn't true with checkboxes. If you have a round hole use a round peg, not a square one. – Liam Jan 23 '14 at 13:27

0 Answers0