System.Web.UI.WebControls Namespace RadioButtonList Class
Specifies whether the RadioButtonList items are displayed vertically or horizontally.
Inline |
<asp:radiobuttonlist repeatdirection = enumValue ... > |
Script |
RadioButtonList.RepeatDirection = enumValue |
The property is read/write with a default value of Vertical.
Use the RepeatDirection property to specify the display direction of the RadioButtonList control whether the items in the RadioButtonList are displayed in horizontal or vertical order.
NOTE: If the RepeatColumns property is set to 0, the RadioButtonList displays its items in a single row or column, based on the value of the RepeatDirection property. If RepeatDirection is not set, or is set to Vertical, the items are displayed in a single column. If RepeatDirection is set to Horizontal, the items are displayed in a single row.
For more information, see the RepeatDirection enumeration.
RadioButtonList Members RepeatColumns RepeatLayout