title: What is the difference between the RadioButon and RadioButtonList?
body: <p>I need to know the difference between a RadioButton and a RadioButtonList, and what are the guidelines to use when deciding which one to use?</p>
  
  <p>I researched this and decided to post my findings here to help illustrate the differences I found that should help clarify my question:</p>
  
  <p><em>What I Learned:</em></p>
  
  <p><strong>RadioButton</strong></p>
  
  <p>Used to display a single RadioButton at a time.  Likely requires setting group attribute to associate multiple RadioButton controls into a group.</p>
  
  <p><strong>RadioButtonList</strong></p>
  
  <p>Used to Display a group of RadioButton controls, automatically providing the group attribute associating all the included RadioButton controls into a single group.</p>
  
  <p><strong>Observation</strong></p>
  
  <p>Visually, both produce the same result in the UI, provided one places at least 2 or more RadioButton controls on the page with the same value for the group attribute.</p>
  
  <p>UI Sample Code follows</p>
  
  <p><strong>asp:RadioButton</strong></p>
  
  <pre><code>&lt;asp:RadioButton ID="b2b" text="B to B" checked="true" runat ="server" GroupName="businesstype" /&gt;
  &lt;asp:RadioButton ID="b2c" text="B to C" runat ="server" GroupName="businesstype" /&gt;
  </code></pre>
  
  <p><strong>asp:RadioButtonList</strong></p>
  
  <pre><code>&lt;asp:RadioButtonList ID="businesstype" runat="server" &gt;
      &lt;asp:ListItem Selected="True" Value="0"&gt;B to B&lt;/asp:ListItem&gt;
      &lt;asp:ListItem Value="1"&gt;B to C&lt;/asp:ListItem&gt;
  &lt;/asp:RadioButtonList&gt;
  </code></pre>
  
  <p>What are the guidelines for the use of each?</p>