开发者

How can I group RadioButtons without a GroupBox in VB.NET?

开发者 https://www.devze.com 2023-01-13 18:56 出处:网络
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开发者_开发技巧?Use the Panel control.Check out the RadioButt

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开发者_开发技巧?


Use the Panel control.


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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消