Easy Tutorial
❮ Prop Webcontrol Standard Bordercolor Met Websecurity Confirmaccount ❯

ASP.NET RadioButtonList RepeatDirection Property



Definition and Usage

The RepeatDirection property is used to get or set whether the items in the RadioButtonList are displayed vertically or horizontally.

Syntax

<asp:RadioButtonList RepeatDirection="mode" runat="server">
...
some content
...
</asp:RadioButtonList>
Property Description
mode Specifies the layout of the items in the RadioButtonList. Possible values: Horizontal - displays horizontally<br> Vertical - default. Displays vertically.

The following example sets the RepeatDirection of the RadioButtonList control:

<form runat="server">
&lt;asp:RadioButtonList id="rb1"
runat="server" RepeatDirection="Horizontal">

...
some content
...

</asp:RadioButtonList>
</form>

❮ Prop Webcontrol Standard Bordercolor Met Websecurity Confirmaccount ❯