Click here to Skip to main content
15,902,492 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
There is 4 radio button in my winform and when the form is loaded then one of them is selected as default . I want that all radiobutton must be deselected and only user can select one of them by clicking on it.
Posted
Updated 3-Mar-15 3:58am
v2
Comments
King Fisher 3-Mar-15 10:04am    
show your Code..

Put your RadioButtons inside a GroupBox and unselect all of them.

By default none is selected.

Are you binding this control?
 
Share this answer
 
The RadioButton is a control that is usually used as an item in a group of RadioButton controls however, it is possible to create a single RadioButton.

If your radio buttons belong to the same group, the one button (default) will be checked. Use 4 single RadioButtons if you don't want it or consider to use e.g. CheckBox.
 
Share this answer
 

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