ASP.NET RadioButtonList RepeatColumns property
RadioButtonList control
Definition and Usage
RepeatColumns property is used to get or set the radio button when the number of columns used to display the list.
grammar
<asp:RadioButtonList RepeatColumns="num" runat="server">
Some Content
</asp:RadioButtonList >
Some Content
</asp:RadioButtonList >
属性 | 描述 |
---|---|
num | 规定要显示的列数。默认是 "1"。 |
Examples
The following examples of the RadioButtonList control of RepeatColumns attribute is set to "2":
<form runat="server">
<asp:RadioButtonList id="rb1"
runat="server" RepeatColumns="2">
Some content
</asp:RadioButtonList>
</form>
<asp:RadioButtonList id="rb1"
runat="server" RepeatColumns="2">
Some content
</asp:RadioButtonList>
</form>
The demonstration >>
RadioButtonList control