title: Adding image to a radio button list in ASP.Net
body: <p>I am trying to add an image to a radio button list control but its not working..</p>
  
  <p>I tried this..</p>
  
  <blockquote>
    <p>RadioButtonList2.Items.Add(new ListItem(String.Format("src='../Colors/Dallas_#625527_1.1.png'>"))); </p>
  </blockquote>
  
  <p>but the whole image tag appears as text</p>
  
  <p>I tried I design time as well</p>
  
  <pre><code> &lt;asp:RadioButtonList ID="rbListImages" runat="server"&gt;
      &lt;asp:ListItem Text="One" Value="1"&gt;&lt;img src="../Colors/Dallas_#625527_1.1.png" alt="" /&gt;&lt;/asp:ListItem&gt;
  &lt;/asp:RadioButtonList&gt;
  </code></pre>
  
  <p>but it says img tag cant be nested with the listitem tag..  Please help me out..</p>