System.Web.UI.WebControls Namespace RadioButtonList Class
Sets or retrieves the number of columns to display in a RadioButtonList control.
Inline |
<asp:radiobuttonlist repeatcolumns = intSize ... > |
Script |
RadioButtonList.RepeatColumns = intSize |
intSize |
The number of columns to display in the RadioButtonList control. |
The property is read/write with a default value of 1.
Use this property to specify the number of columns in which to display the items in the RadioButtonList control. For example, if you set this property to 3, the RadioButtonList displays its items in three columns.
NOTE: If this 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.
RadioButtonList Members RepeatDirection RepeatLayout