ASP.NET RadioButtonList RepeatDirectionProperty
RadioButtonList Control
Definition and Usage
The RepeatDirection property is used to get or set whether the items in a RadioButtonList are displayed vertically or horizontally.
Syntax
<asp:RadioButtonList RepeatDirection="mode" runat="server">
Some Content
</asp:RadioButtonList >
Some Content
</asp:RadioButtonList >
| Property | Description |
|---|---|
| mode | Specifies the layout direction of items in the RadioButtonList. Possible values:
|
Example
The following example sets the RepeatDirection of the RadioButtonList control:
<form runat="server">
<asp:RadioButtonList id="rb1"
runat="server" RepeatDirection="Horizontal">
Some content
</asp:RadioButtonList>
</form>
<asp:RadioButtonList id="rb1"
runat="server" RepeatDirection="Horizontal">
Some content
</asp:RadioButtonList>
</form>
Demo Example »
RadioButtonList Control Other Extensions