title: ASP.NET HyperLink as updatepanel trigger
body: <p>I want to trigger my updatepanel change when I click on a HyperLink But I get an error saying:</p>
  
  <pre><code>Control with ID 'X' being registered through RegisterAsyncPostBackControl or RegisterPostBackControl must implement either INamingContainer, IPostBackDataHandler, or IPostBackEventHandler.
  </code></pre>
  
  <p>If I use ASP Button, then everything works correctly</p>
  
  <p>My code:</p>
  
  <pre><code>&lt;asp:ScriptManager ID="ScriptManager1" runat="server" /&gt;
  &lt;asp:UpdatePanel runat="server" id="UpdatePanel" updatemode="Conditional"&gt;
  &lt;Triggers&gt;
      &lt;asp:AsyncPostBackTrigger controlid="UpdateButton2" eventname="Click" /&gt;
  &lt;/Triggers&gt;
      &lt;ContentTemplate&gt;
          &lt;asp:Repeater ID="rptDossiers" runat="server"&gt;
              &lt;ItemTemplate&gt;
                  ...
              &lt;/ItemTemplate&gt;
          &lt;/asp:Repeater&gt;
  
          &lt;asp:HyperLink NavigateUrl="#" runat="server" id="UpdateButton2" onclick="tousLesDossiers_Click"&gt;
              Tous les Dossiers
          &lt;/asp:HyperLink&gt;
          &lt;%--&lt;asp:Button runat="server" id="UpdateButton2" onclick="tousLesDossiers_Click" text="Update" /&gt;--%&gt;            
      &lt;/ContentTemplate&gt;
  &lt;/asp:UpdatePanel&gt;
  </code></pre>
  
  <p>Any suggestions?</p>
  
  <p>Thanks</p>