如何在Gridview行上使用Javascript? [英] How to use Javascript on Gridview Rows?

查看:74
本文介绍了如何在Gridview行上使用Javascript?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我的gridview中有三个gridview文本框列.我希望当我在textbox1和texbox2中输入值时,应该通过在前两个texbox列中输入的计算值来填充griview的texbox列.通常,我们使用onblur触发javascript函数.但是我不知道如何在gridivew文本框列中实现此功能.请指导.

Hi,
I am have three gridview textbox columns in my gridview. I want that when i enter values in textbox1 and texbox2 then thrid texbox column of the griview should be populated by the calcaluting values entered in the first two texbox columns. Generally we use onblur to fire javascript function. But i don''t know how to achieve this functionality in case of gridivew textbox columns . Please guide.

推荐答案

在这里,请参阅此

使用javascript在GridView中添加所有文本框值 [ ^ ]
Here you go, refer this

Adding all Textbox Values in GridView using javascript[^]


这篇关于如何在Gridview行上使用Javascript?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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