ASP.NET RadioButtonList RepeatColumnsProperty
RadioButtonList Control
Definition and Usage
The RepeatColumns property is used to get or set the number of columns to use when displaying the RadioButtonList.
Syntax
<asp:RadioButtonList RepeatColumns="num" runat="server">
Some Content
</asp:RadioButtonList >
Some Content
</asp:RadioButtonList >
| Property | Description |
|---|---|
| num | Specifies the number of columns to display. Default is "1". |
Example
The following example sets the RepeatColumns property of the RadioButtonList control 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>
Show Example »
RadioButtonList Control Other Extensions