Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
I am new in window application.
I want to place radiobutton list on my form.
RadioButtonList is not present in window application, so i am using Two radiobuttons.
But i want only one of these two textboxes can be selected at a time.
There is no group property.

How can i do that.

Thanks in advance
Posted
Comments
jim lahey 1-Feb-11 3:02am    
you really need to clarify your question, it's highly contradictory:

- asp.net or windows application?
- radiobuttons or textboxes

If you can clear this up I might be able to help.
Sharma Richa 1-Feb-11 3:07am    
thanks jim ,
but i got the answer

1 solution

RadioButtons are grouped by its container in windows application. If you place all RadioButtons on the form, any one of them can be selected.

If you want more than one group, you can place a Panel or GroupBox on your form, and place the RadioButtons contained in a group inside it.
 
Share this answer
 
Comments
RaviRanjanKr 1-Feb-11 3:09am    
Nice Answer Prerak. Have my +5
skunkhead 1-Feb-11 3:25am    
well explained. my +5!
shakil0304003 1-Feb-11 5:12am    
Good 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