asp.net.ph

RadioButtonList.RepeatDirection Property

System.Web.UI.WebControls Namespace   RadioButtonList Class


Specifies whether the RadioButtonList items are displayed vertically or horizontally.

Syntax


Inline <asp:radiobuttonlist repeatdirection = enumValue ... >
Script RadioButtonList.RepeatDirection = enumValue

Property Value


enumValue One of the RepeatDirection values.

The property is read/write with a default value of Vertical.

Exceptions


Exception Type Condition
ArgumentException The given value is not one of the RepeatDirection values.

Remarks

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.

See Also

RadioButtonList Members   RepeatColumns   RepeatLayout Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph