Latest web development tutorials

ASP.NET RadioButtonList RepeatLayout property

RadioButtonList control RadioButtonList control

Definition and Usage

RepeatLayout property is used to get or set how to display the items in the RadioButtonList.

grammar

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

属性 描述
mode 规定 RadioButtonList 中的项目的布局。

可能的值:

  • Flow - 项目不显示在表格中
  • Table - 默认。项目显示在表格中


Examples

The following examples set RepeatLayout RadioButtonList control:

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

Some content

</asp:RadioButtonList>
</form>

The demonstration >>

RadioButtonList control RadioButtonList control