title: How to add AjaxControlToolkit's Gravatar Control before or after checkbox in checkboxlist control
body: <p>I have a CheckBoxList control that contains dynamically generated checkbox items. This checkboxlist will contain usernames. I am using Gravatar control from AjaxControlToolkit to allow users to have their own profile pictures. What I want is that when a checkbox with username as a text is added to the CheckBoxList, a Gravatar control should also be added  before or after the checkbox, showing the corresponding display picture of the user. An alternative way came to my mind is to have a custom user control with a checkbox and gravatar. But if any other lite and easy solution available then please suggest me. Following is the code:</p>
  
  <pre><code>&lt;table class="style1"&gt;
                  &lt;tr&gt;
                      &lt;td align="right" style="padding: 5px" width="25%"&gt;
                          Username/Email:&lt;/td&gt;
                      &lt;td style="padding: 5px"&gt;
                          &lt;asp:TextBox ID="TextBox1" runat="server"&gt;&lt;/asp:TextBox&gt;
                          &amp;nbsp;&lt;asp:Button ID="Button1" runat="server" CssClass="newButton" 
                              onclick="Button1_Click" Text="Search" /&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;td align="right" style="padding: 5px" valign="top" width="25%"&gt;
                          Results:&lt;/td&gt;
                      &lt;td style="padding: 5px"&gt;
                          &lt;asp:CheckBoxList ID="CheckBoxList1" runat="server" 
                              onselectedindexchanged="CheckBoxList1_SelectedIndexChanged" 
                              AutoPostBack="True"&gt;
                          &lt;/asp:CheckBoxList&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;td align="right" style="padding: 5px" width="25%" valign="top"&gt;
                          Selected People:&lt;/td&gt;
                      &lt;td style="padding: 5px"&gt;
                          &lt;asp:ListBox ID="ListBox1" runat="server" Height="149px" Width="260px"&gt;
                          &lt;/asp:ListBox&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
              &lt;/table&gt;
  </code></pre>
  
  <p>As you can see it also has a listbox that contains the selected item from checkboxlist. If possible please suggest me the same for the listbox.</p>