在背后的asp.net代码中读取服务器控件的innerhtml [英] read server control's innerhtml in asp.net code behind

查看:85
本文介绍了在背后的asp.net代码中读取服务器控件的innerhtml的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我在客户端使用javascript(没有刷新网格)设置了链接按钮的文本,这是gridview的子控件,现在我想通过单击某些按钮来访问文件后面代码中的那个innerHTML值,但是它不能给我新的价值由javascript设置.

任何人对此都有任何想法.

Hi All,
I set link button''s text which is child control of gridview using javascript at client side (without refresh grid) and now i want to access that innerHTML value in code behind file on some button click, but it can not give me new value set by javascript.

Any one have any idea about that.

Thanks in Advance.

推荐答案

找到控件并获取链接按钮的文本....
find the control and get the text of linkbutton....


这篇关于在背后的asp.net代码中读取服务器控件的innerhtml的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆