ASP.NET RepeatLayout Property


RadioButtonList Control Reference Complete RadioButtonList Control Reference

Definition and Usage

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

Syntax

<asp:RadioButtonList RepeatLayout="mode" runat="server">
Some Content
</asp:RadioButtonList >

Attribute Description
mode Specifies the layout of the items in the 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 a RadioButtonList control:

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

Some content

</asp:RadioButtonList>
</form>

Show example »

RadioButtonList Control Reference Complete RadioButtonList Control Reference

SHARE THIS PAGE

COLOR PICKER

colorpicker