通过Javascript访问Gridview页脚单元 [英] Access Gridview Footer cell via Javascript
本文介绍了通过Javascript访问Gridview页脚单元的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用
中的Javascript获取和设置Gridview页脚单元格值
Visual Studio
How can i get and set Gridview footer cell value using Javascript in
Visual Studio
推荐答案
在Gridview的页脚单元中,您必须放置了一些控件.使用该控件的名称并访问它.像这样的东西:
In Gridview''s footer cell you must had placed some control. Use that control''s name and access it. Something like:
document.getElementById("gvTest_ctl01_txtTotal").innerText = "123";"
尝试此操作以获取更多详细信息:
如何在客户端访问gridview单元格值 [
Try this for more details:
How to access gridview cell values on client side[^]
这篇关于通过Javascript访问Gridview页脚单元的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文