如何通过单击radiobutton list的一个radiobutton选择所有值 [英] how to select all values by clicking on one radiobutton of radiobutton list
本文介绍了如何通过单击radiobutton list的一个radiobutton选择所有值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有asp.net页面,其中我制作了4个radiobutton列表,我希望当我选择radiobutton list的selectall值时,它将选择单选按钮列表的所有值。
这可能吗?
hi ,
i have asp.net page in which i make 4 radiobutton list and i want that when i select selectall value of radiobutton list then it will select all the values of the radio button list .
is this possible?
推荐答案
不,这是不可能的,不符合radiobutton列表行为。
此控件为页面开发人员提供了一个单选单选按钮组,可以通过数据绑定动态生成。
尝试使用复选框列表作为_Maxxx_提及或单个单选按钮列表。
No, this is not possible and not conform with radiobutton list behavior.
This control provides page developers with a single-selection radio button group that can be dynamically generated through data binding.
Try to use checkbox list as _Maxxx_ mentioned or a list of single radio buttons instead.
这篇关于如何通过单击radiobutton list的一个radiobutton选择所有值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文