views:

63

answers:

2

I'm having an issue finding an UpdatePanel inside of a Gridview inside of a Formview in Javascript. The Below Doesn't work.

 var UpdatePanel3 = $get('<%=FormView1.FindControl("Gridview1").FindControl("UpdatePanel3").ClientID %>');

How can I find that control??

A: 

Easiest way is going to be with jquery. Add a class to the gridview and do a $(".cssClassName")

Chad Ruppert
+2  A: 
$get('<%=UpdatePanel3.ClientID %>');

better way

ArsenMkrt