开发者

Finding controls in javascript

开发者 https://www.devze.com 2022-12-07 23:38 出处:网络
I\'m having an issue finding an UpdatePanel inside of a Gridview inside of a Formview in Javascript. The Below Doesn\'t work.

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")

0

精彩评论

暂无评论...
验证码 换一张
取 消