通过javascript在gridview中单击单选按钮时显示文本框 [英] By javascript show textbox on click of radio button in gridview

查看:68
本文介绍了通过javascript在gridview中单击单选按钮时显示文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在gridview中显示记录.在gridview的第一列中,我有一个单选按钮,在第二列中,我有一个文本框.

我的要求是,首先将隐藏文本框,但是当我选择该单选按钮时,应显示文本框.

我正在使用使用javascript的键盘键选择单选按钮.

因此,如果有人知道用于显示该Rowin网格视图的文本框(其中选中了单选按钮)的javascript代码.

请告诉我

Hello Every One,

I am showing records in gridview. In my gridview''s first column i have one radio button and in second column i have one textbox.

My requirement is that firstly textbox will be hide but when i select that radio button then textbox should be display.

I am selecting radio button using keyboard key using javascript.

so if anyone know the javascript code for display the textbox of that rowin gridview in which radio button is selected.

please tell me

推荐答案

看看CP的以下入门文章:
在ASP.NET中显示/隐藏GridView列 [ ^ ]

另外还有一些其他指针供您参考:
http://forums.asp.net/t/1264178.aspx/1 [ ^ ]
http://aspdotnetcodebook.blogspot.in/2008/03/how- to-hide-gridview-column-using.html [ ^ ]
Have a look at following articles from CP for starters:
Show / Hide GridView Columns in ASP.NET[^]

Also some other pointers for your reference:
http://forums.asp.net/t/1264178.aspx/1[^]
http://aspdotnetcodebook.blogspot.in/2008/03/how-to-hide-gridview-column-using.html[^]


这篇关于通过javascript在gridview中单击单选按钮时显示文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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