dataCell = new HtmlTableCell(); ImageButton imgEdit = new ImageButton(); imgEdit.ID = "imgButtonEdit" + serialNo; imgEdit.Click += new ImageClickEventHandler(imgEdit_Click); ScriptManager.GetCurrent(this).RegisterPostBackControl(imgEdit); dataCell.Controls.Add(imgEdit); dataRow.Cells.Add(dataCell); protected void imgEdit_Click(object sender, ImageClickEventArgs e) { //do stuff here }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)