title: Access a UserControl in a Gridview from the RowDatBound method
body: <p>I have a gridview and within the item template i have a usercontrol which is losing it's value on postback. I want to be able to access the control from my RowDataBound method in the c# code behind and reassign the CandidateID value</p>
  
  <p>GridView Control</p>
  
  <pre><code>&lt;asp:TemplateField&gt;
      &lt;ItemTemplate&gt;
  
          &lt;Controls:LikeButton ID="CandidateLikeButton" runat="server" LikeType="Candidate"
             LikedObjectID='&lt;%# Bind("CandidateID") %&gt;' /&gt;
  
      &lt;/ItemTemplate&gt;
  &lt;/asp:TemplateField&gt;
  </code></pre>
  
  <p>How can i do this?</p>