Button btnContinue = new Button(); btnContinue.Attributes.Add("class", "button"); btnContinue.ID = "btnContinue"; btnContinue.Text = "Continue"; btnContinue.CausesValidation = false; btnContinue.Click += new EventHandler(btnContinue_Click); form1.Controls.Add(btnContinue); protected void btnContinue_Click(object sender, EventArgs e) { ... } protected void Page_Init(object sender, EventArgs e) { }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)