开发者

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

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜