Posts By Category

Posts By Date

Resources:

C# Books
ASP.NET Books DotNet4All








If you like to support this site, feel free to make a donation to support improvements.

Thank you!

Monetize Your Blog

When to use a Check Box and when to use a Group of Radio Buttons

What's the difference between a check box and a Radion button?

The short answer to this is:

- Check box is used to indicated a boolean value: True or False

- A group of Radio Buttons is used when you have more choices than True or False... say you have a choice like "Maybe"...

So use a group of Radio button when you have multiple choices and you only want to select one and only one choice. Use a Check box when you have only 2 choices, this or that, and no more.

By the way, you usually use the radio button in a group of button; each one represents the one choice. You can also have a group of check boxes, and that leads us to the 3rd case:

- When you have multiple choices, and multiple selections, use a group of check boxes.

Source: http://www.mycsharpcorner.com

Hope this helps.

kick it on DotNetKicks.com

Feedback

Please post your comments:

Name:  
Email (optional): Your email address will not be posted.
URL (optional):
Comments: HTML will be ignored, URLs will be converted to hyperlinks  
Enter the text you see in the box:
 


Copyright © 2007 Yousef Mannaa. All material on this site is copyrighted.
Do not publish or reproduce any of this material without written permission from the Author