ASP.NET RadioButtonList RepeatLayout property
RadioButtonList control
Definition and Usage
RepeatDirection property is used to get or set the items in the RadioButtonList is displayed vertically or horizontally.
grammar
<asp:RadioButtonList RepeatDirection="mode" runat="server">
Some Content
</asp:RadioButtonList >
Some Content
</asp:RadioButtonList >
属性 | 描述 |
---|---|
mode | 规定 RadioButtonList 中项目的布局方向。 可能的值:
|
Examples
The following examples set RepeatDirection RadioButtonList control:
<form runat="server">
<asp:RadioButtonList id="rb1"
runat="server" RepeatDirection="Horizontal">
Some content
</asp:RadioButtonList>
</form>
<asp:RadioButtonList id="rb1"
runat="server" RepeatDirection="Horizontal">
Some content
</asp:RadioButtonList>
</form>
The demonstration >>
RadioButtonList control