ASP.NET RadioButtonList RepeatColumnsProperty


RadioButtonList 控件RadioButtonList Control

Definition and Usage

The RepeatColumns property is used to get or set the number of columns to use when displaying the RadioButtonList.

Syntax

<asp:RadioButtonList RepeatColumns="num" runat="server">
Some Content
</asp:RadioButtonList >

Property Description
num Specifies the number of columns to display. Default is "1".


Example

The following example sets the RepeatColumns property of the RadioButtonList control to "2":

<form runat="server">
<asp:RadioButtonList id="rb1"
runat="server" RepeatColumns="2">

Some content

</asp:RadioButtonList>
</form>

Show Example »

RadioButtonList 控件RadioButtonList Control Other Extensions