views:

37

answers:

3

I want to group RadioButtons, but I don't want to use the visible control GroupBox. Is there something like the Java ButtonGroup in VB.NET?

+3  A: 

Use the Panel control.

SLaks
+1 The `Panel` control is the best way to 'borderlessly' group radio/option boxes.
Alex Essilfie
A: 

I'm not sure if you could alter an asp:RadioButtonList Here

Byron Cobb
He's almost definitely using WinForms.
SLaks
A: 

Check out the RadioButtonList

<asp:RadioButtonList id=RadioButtonList1 runat="server">
      <asp:ListItem>Item 1</asp:ListItem>
      <asp:ListItem>Item 2</asp:ListItem>
      <asp:ListItem>Item 3</asp:ListItem>
      <asp:ListItem>Item 4</asp:ListItem>
      <asp:ListItem>Item 5</asp:ListItem>
      <asp:ListItem>Item 6</asp:ListItem>
</asp:RadioButtonList>

Hope this helps.

madcapnmckay