ASP.NET CheckBoxList RepeatLayoutProperties
CheckBoxList Control
Definition and Usage
The RepeatLayout property is used to get or set how items in a CheckBoxList are displayed.
Syntax
<asp:CheckBoxList RepeatLayout="mode" runat="server">
Some Content
</asp:CheckBoxList >
Some Content
</asp:CheckBoxList >
| Property | Description |
|---|---|
| mode | Specifies the layout of items in a CheckBoxList. Possible values:
|
Example
The example below sets the RepeatLayout property of the CheckBoxList control:
<form runat="server">
<asp:CheckBoxList id="cb1"
runat="server" RepeatLayout="Flow">
Some content
</asp:CheckBoxList>
</form>
<asp:CheckBoxList id="cb1"
runat="server" RepeatLayout="Flow">
Some content
</asp:CheckBoxList>
</form>
Demo »
CheckBoxList Control Other Extensions