tonia_carebear
New Member
I add a GridView on page in UpdatePanel and put a Panel in one of cells and add LinkButton from code behind to this panel like below\[code\]Panel pnl = (Panel)GridView1.Rows.Cells[4].FindControl("pnlSteps");//pnlSteps is Panel's IdLinkButton lnk = new LinkButton();//...pnl.Controls.Add(lnk);\[/code\]when user click on each LinkButton I want to run a javascript's function,how can i do it?