Finding controls in javascript
I'm having an issue finding an UpdatePanel inside of a Gridview inside of a Formview in Javascript. The Below Doesn't work.
v开发者_运维问答ar UpdatePanel3 = $get('<%=FormView1.FindControl("Gridview1").FindControl("UpdatePanel3").ClientID %>');
How can I find that control??
$get('<%=UpdatePanel3.ClientID %>');
better way
Easiest way is going to be with jquery. Add a class to the gridview and do a $(".cssClassName")
精彩评论