Dynamiclly added control i.e panel contains buttons event no firing
<pre><code> protected void container1ActiveTabChanged(object sender, EventArgs e)
        {
            if (container1.ActiveTabIndex == 0)
            {
                if (container1.Tabs[0].Controls.Count == 0)
                {
                    container1.Tabs[0].Controls.Add(gdvEmployee);
                }
            }
            if (container1.ActiveTabIndex == 1)
            {
                pnlEmployeeID.Visible = true;
                pnlEmployeeInformation.Visible = false;
            }
            if (container1.ActiveTabIndex == 2)
            {
                pnlEmployeeInformation.Visible = true;

                if (container1.Tabs[2].Controls.Count == 0)
                {
                    container1.Tabs[2].Controls.Add(pnlEmployeeInformation);
                }
            }
</code></pre>

<p>this event not firing</p>

<pre><code>  protected void btnInsertClick(object sender, EventArgs e)
</code></pre>
