System.Web.UI.WebControls Namespace CheckBoxList Class
Specifies whether the CheckBoxList items are displayed in a table or flow layout.
Inline |
<asp:checkboxlist repeatlayout = enumValue ... > |
Script |
CheckBoxList.RepeatLayout = enumValue |
The property is read/write with a default value of Table.
Use the RepeatLayout property to specify whether the items in the CheckBoxList control are displayed in a table or inline with the document flow. If this property is not set, or is set to Table, the items in the list are rendered into an HTML <table> element. If this property is set to Flow, the items in the list are rendered as HTML <span> elements.
NOTE: The RepeatColumns property determines how many table columns or span elements are rendered for each row.
For more information, see the RepeatLayout enumeration.
CheckBoxList Members RepeatDirection RepeatColumns