title: Assistance with styling a dynamic asp:CheckBoxList using Bootstrap
body: <p>I have an asp:CheckBoxList that is being populated with values from a DB. I'm using Bootstrap 4.3.1 as my framework. I'm trying to style my CheckBoxList using the default example:</p>
  <pre><code>  &lt;div class=&quot;custom-control custom-checkbox my-1 mr-sm-2&quot;&gt;
  &lt;input type=&quot;checkbox&quot; class=&quot;custom-control-input&quot; id=&quot;customControlInline&quot;&gt;
  &lt;label class=&quot;custom-control-label&quot; for=&quot;customControlInline&quot;&gt;Remember my preference&lt;/label&gt;
  </code></pre>
    
  <p>This is my code for my CheckBoxList:</p>
  <pre><code>&lt;asp:CheckBoxList ID=&quot;CBLSymptoms&quot; runat=&quot;server&quot; RepeatDirection=&quot;Horizontal&quot; CellPadding=&quot;9&quot;&gt;&lt;/asp:CheckBoxList&gt;
  </code></pre>
  <p>This is what I've tried, however the CheckBoxList disappears:</p>
  <pre><code>        &lt;div class=&quot; custom-control custom-checkbox my-1 mr-sm-2&quot;&gt;
          &lt;asp:CheckBoxList type=&quot;checkbox&quot; CssClass=&quot;custom-control-input&quot; ID=&quot;CBLSymptoms&quot; runat=&quot;server&quot; RepeatDirection=&quot;Horizontal&quot; CellPadding=&quot;9&quot;&gt;&lt;/asp:CheckBoxList&gt;
      &lt;/div&gt;
  </code></pre>
  <p>If someone could kindly offer some input or advice on how I can achieve this, that would be excellent.</p>