title: Handling postbacks from an AJAX Rating Control inside a Repeater
body: <p>I have a Repeater control with a Rating control (from the latest AJAX Control Toolkit) inside:</p>
  
  <pre><code>&lt;asp:Repeater ID="repStudents" runat="server" onitemcommand="repStudents_ItemCommand"&gt;
    &lt;ItemTemplate&gt;
      &lt;%# Eval("FirstName") %&gt;
      &lt;asp:Rating ID="warnings" runat="server" Direction="NotSet" MaxRating="3" StarCssClass="star" EmptyStarCssClass="em" FilledStarCssClass="gr" WaitingStarCssClass="gr" AutoPostBack="True" CommandArgument='&lt;%# Eval("Id") %&gt;' CommandName="warn"&gt;&lt;/asp:Rating&gt;
      &lt;br /&gt;
    &lt;/ItemTemplate&gt;
  &lt;/asp:Repeater&gt;
  </code></pre>
  
  <p>In the code behind, I have:</p>
  
  <pre><code>protected void repStudents_ItemCommand(object source, System.Web.UI.WebControls.RepeaterCommandEventArgs e)
  {
    //Custom log function
    Log.Append(e.CommandName + " " + e.CommandArgument);
  }
  </code></pre>
  
  <p>All renders fine. However, when I click on a rating the page posts back but <code>repStudents_ItemCommand</code> is not fired. How can I fix this?</p>
  
  <p>Note that if I put a Button in the same Repeater, <code>repStudents_ItemCommand</code> fires correctly when I click the button.</p>