I know that WebForms has a RadioButtonList control, but I can't find one for WinForms. What I need is to have 3 RadioButtons grouped together, so that only 1 can be selected at a time. I'm finding that I have to do this through code, which is a pain. Am I just not seeing RadioButtonList somewhere, or does it really not exist in WinForms?
+3
A:
You can group three RadioButtons together using a GroupBox or a Panel as is done here.
Matthew Jones
2009-06-18 21:58:20
Weird, I was grouping them in a GroupBox but I thought it wasn't working. Thank you!
Rorschach
2009-06-19 02:18:40
+1
A:
The simple fact that several radio buttons are in the same container makes them mutually exclusive, you don't have to code this behavior yourself. Just put them in a Panel or GroupBox as suggested by Matthew
Thomas Levesque
2009-06-18 22:03:51
A:
how do you create the radiobuttonlist at runtime? ie databind a list from a database. How do you render the list to flow horizontally?
rygar
2010-07-20 12:05:36