ASP.NET RadioButtonList RepeatLayoutProperty


RadioButtonList 控件RadioButtonList Control

Definition and Usage

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

Syntax

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

Property 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 the RadioButtonList control:

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

Some content

</asp:RadioButtonList>
</form>

Show example »

RadioButtonList 控件RadioButtonList Control Other Extensions