Consider the following code...
LinkButton lb = new LinkButton();
lb.Text = "Click Here";
lb.Click += new EventHandler(Button_Click);
TableCell tc3 = new TableCell();
tc3.Controls.Add(lb);
TableRow tr = new TableRow();
tr.Cells.Add(tc3);
InfoTable.Rows.Add(tr); If I put that code in Page_Load(), it works fine - Button_Click executes. InfoTable is defined in the aspx file as a <asp:Table>.The page also has a submit button defined as...
<asp:Button ID="SubmitButton" runat="server" OnClick="SubmitButton_Click" Text="Submit" />
Go to the complete details ...