title: Unordered list checkboxlist control
body: <p>I want to use a CheckBoxList control which prints out HTML using</p>
  
  <pre><code>&lt;UL&gt;
      &lt;LI&gt;&lt;INPUT CHECKBOX&gt;&lt;/LI&gt;
      &lt;LI&gt;etc&lt;/LI&gt;
  &lt;/UL&gt;
  </code></pre>
  
  <p>For the markup.</p>
  
  <p>However if I try the following:</p>
  
  <pre><code>&lt;asp:CheckBoxList ID="lstShipsInScope" runat="server" 
       DataSourceID="ShipsInScope" DataTextField="Ship_Name" DataValueField="Ship_Id"
       ondatabound="lstShipsInScope_DataBound" AutoPostBack="True"
       RepeatLayout="unorderedlist" RepeatDirection="horizontal"&gt;
  &lt;/asp:CheckBoxList&gt;
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>Parser Error Message: Cannot create an object of type 'System.Web.UI.WebControls.RepeatLayout' from its string representation 'unorderedlist' for the 'RepeatLayout' property.
  </code></pre>
  
  <p>Which seems silly given that unorderedlist is offered as a value for the RepeatLayout attribute. Flow works, which puts them all in a span and so does table, but I want to use an unorderedlist and do the styling myself.</p>