System.Web.UI.WebControls.RepeatLayout.Flow Field

Items are displayed without a table structure. Rendered markup consists of a span element and items are separated by br elements.

Syntax

RepeatLayout Flow

Remarks

The following example shows markup that is rendered for a System.Web.UI.WebControls.CheckBoxList control whose CheckBoxList.RepeatLayout property is set to RepeatLayout.Flow.

Example

<span id="ctl00_MainContent_CheckBoxList1">
  <input id="ctl00_MainContent_CheckBoxList1_0" type="checkbox" 
    name="ctl00$MainContent$CheckBoxList1$0" value="Item 1" />
  <label for="ctl00_MainContent_CheckBoxList1_0">Item 1</label>
  <br />
  <input id="ctl00_MainContent_CheckBoxList1_1" type="checkbox"
    name="ctl00$MainContent$CheckBoxList1$1" value="Item 2"/>
  <label for="ctl00_MainContent_CheckBoxList1_1">Item 2</label>
  <br />
  <input id="ctl00_MainContent_CheckBoxList1_2" type="checkbox"
    name="ctl00$MainContent$CheckBoxList1$2" value="Item 2" />
  <label for="ctl00_MainContent_CheckBoxList1_2">Item 2</label>
</span>

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0