Add control/event dynamically doesn't work
<p>Any help would be appreciated --</p>

<p>here is my aspx code -</p>

<pre><code>&lt;div id="div_Detail" class="div_det" runat="server" /&gt;
</code></pre>

<p>and in my code behind -</p>

<pre><code>protected void Page_Load(object sender, EventArgs e) {
  LoadDetail();
}

private void LoadDetail() {
    HtmlTable tbl = new HtmlTable();
    HtmlTableRow row = new HtmlTableRow();
    HtmlTableCell cell = new HtmlTableCell();

    Button bUpdate = new Button();
    bUpdate.Text = "Update";
    bUpdate.Click += this.Update_Click;

    cell.Controls.Add(bUpdate);
    row.Cells.Add(cell);
    tbl.Rows.Add(row);
    div_Detail.Controls.Add(tbl);
}

private void Update_Click(object sender, EventArgs e) {
    //Do something
}
</code></pre>

<p>I see the button on the page with the correct text. But on clicking that button, Update_Click never gets called.</p>

<p>Am I missing something?</p>
