Adding PostBackTrigger and AsyncPostBackTriggers to UpdatePanel for dynamically generated checkboxes with checkedChanged EventHandler
<p>For more clear explanation here's my code on <code>.asp</code> file:</p>

<pre><code>&lt;asp:UpdatePanel ID="updPnlTabs" runat="server" &gt;
   &lt;Triggers&gt;
    &lt;asp:PostBackTrigger ControlID="btnSave" /&gt;
   &lt;/Triggers&gt;
  &lt;ContentTemplate&gt;
   &lt;asp:Panel ID="pnlCheckList" runat="server" style="margin-bottom: 10px;" CssClass="listingDummyTab"&gt;
   &lt;/asp:Panel&gt;
  &lt;/ContentTemplate&gt;
&lt;/asp:UpdatePanel&gt;
</code></pre>

<p>On my <code>.cs</code> code, I dynamically created checkeboxes to the pnlCheckList like this:</p>

<pre><code>        CheckBox chkModuleID = new CheckBox();
        chkModuleID.ID = drNew[def.ID].ToString();
        chkModuleID.AutoPostBack = true;
        chkModuleID.CheckedChanged += new EventHandler(chkID_OnRow_Check);
        pnlCheckList.Controls.Add(chkModuleID);
</code></pre>

<p>Now my problem here is when I change the check boxes the whole page have to load instead of the content of the <code>UpdatePanel</code>. Note that the EventHandler for the dynamically created checkboxes is firing but not inside the UpdatePanel.</p>

<p>How can I add the <code>ID</code>'s of the dynamically created <code>Controls</code> in <code>&lt;Triggers&gt;</code> of the <code>UpdatePanel</code>?</p>
