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