asp.net.ph

CheckBoxList.RepeatLayout Property

System.Web.UI.WebControls Namespace   CheckBoxList Class


Specifies whether the CheckBoxList items are displayed in a table or flow layout.

Syntax


Inline <asp:checkboxlist repeatlayout = enumValue ... >
Script CheckBoxList.RepeatLayout = enumValue

Property Value


enumValue One of the RepeatLayout values.

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

Exceptions


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

Remarks

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.

See Also

CheckBoxList Members   RepeatDirection   RepeatColumns 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