GridView索引通过JavaScript [英] GridView index through JavaScript
问题描述
大家好,
我有一个gridview,其中包含模板字段中的两个控件,
一个是下拉列表,第二个是文本框...
除了GridView之外,我还有一个文本框和下拉列表以及Button.
我希望当用户输入文本框和dropdwon并单击按钮时,应该在Gridview的模板字段内的控件中添加这些值。
i能够通过JavaScript找到外部控件的值,但是如何用它们填充内部控件?????
可以任何身体帮助我...我是javaScript的新手,经过大量的谷歌搜索无法理解...
Hi All,
I am having a gridview which includes two controls in template fields,
One is dropdown and second is textbox...
Further outside of GridView I have a textbox and dropdown as well along with Button.
I want when user enter in textbox and dropdwon and click button than those values should be added in the controls inside the template fields of Gridview..
i am able to find the values of Outer controls through JavaScript but how can i populate the inner controls with them?????
Can Any Body Help me... I am new to javaScript and unable to understand after alot of googling...
推荐答案
看看这些
http://forums.asp.net/t/1147158.aspx [ ^ ]
在ASP.Net GridView中添加动态行使用文本框控制 [ ^ ]
动态地将新行添加到网格视图而不回发 [ ^ ]
Have a look at these
http://forums.asp.net/t/1147158.aspx[^]
Adding Dynamic Rows in ASP.Net GridView Control with TextBoxes[^]
Dynamically adding new row to grid view without postback[^]
这篇关于GridView索引通过JavaScript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!