单选按钮问题 [英] radio button problem

查看:99
本文介绍了单选按钮问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



在我的gridview中,有一个复选框,一个单选按钮,一个文本字段等.
如果选中此复选框,则只有我显示单选按钮.
如果有10行ve status复选框选中为true,则我必须显示10个单选按钮.用户有特权仅检查所有10行中的一个单选按钮.(即10个中的1个).有什么办法


致以问候
SreejithKumar M

Hi,

In my gridview i ve a checkbox, a radiobutton, a text field etc.
if checkbox is checked then only i am displaying radiobutton.
if there are 10 rows which ve status checkbox checked true, then i must display 10 radiobutton.user has previlege to check only one radio button in all 10 row.(ie 1 out of 10).Is there any way


With Regards
SreejithKumar M

推荐答案

有什么办法
是的,有!

您可以使用Javascript并在控件可见的情况下播放.
您可以使用验证器或Javascript来限制一个单选按钮的选择.

试试吧!
Is there any way
Yes there is!

You can use Javascript and play with visibility of controls.
You can use Validators or Javascript for restricting selection of one radio button.

Try!


这篇关于单选按钮问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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