I was create a button dynamically with event handler. But the event not fired. Please help me to do this. My partial code is here.\[code\] Button btn = new Button(); btn.ID = "btn" + i; btn.Text = "Add New"; Panel1.Controls.Add(btn); btn.Click += new EventHandler(this.GreetingBtn_Click); Panel1.Controls.Add(new LiteralControl("<br /><br />")); void GreetingBtn_Click(Object sender, EventArgs e) { create(); }\[/code\]I want to access the create() function when i click the button.