Click here to Skip to main content
15,900,973 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more: , +
Dear all,

if more than one check boxes using in application, must and should take group or not

Please correct me. give me example.
Posted

Do you mean that when a check box is checked the checked value from other check boxes should be removed? If that is the question, then I'd suggest using radio buttons instead.

Otherwise you may or may not use a group box. I'd say whatever makes the user interface self explaining.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 10-May-12 16:25pm    
Agree, a 5.
--SA
Wendelius 10-May-12 16:27pm    
Thanks :)
There is no reason to group checkboxes because they are independent. If you are talking about Radio Buttons, that will require grouping using <asp:radiobuttonlist xmlns:asp="#unknown"></asp:radiobuttonlist>. See http://www.codetoad.com/asp.net/aspnetcontrols11.asp[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 10-May-12 16:24pm    
Correct, a 5.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900