ASP.NET RepeatLayout Property

Definition and Usage

The RepeatLayout property is used to get or set how items in RadioButtonList are displayed.

Syntax

<asp:RadioButtonList RepeatLayout="mode" runat="server">
some content
</asp:RadioButtonList >
Property Description
mode

Specifies the layout of items within RadioButtonList.

Possible Values:

  • Flow - Items are not displayed in a table
  • Table - Default. Items are displayed in a table

Example

The following example sets the RepeatLayout of RadioButtonList control:

<form runat="server">
<asp:RadioButtonList id="rb1" runat="server"> RepeatLayout="Flow">
Some content
</asp:RadioButtonList>
</form>

Example

Set the RepeatLayout Property of RadioButtonList Control