多个复选框 [英] more than one check boxes

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

问题描述

亲爱的所有人,

如果应用程序中使用了多个复选框,则必须并且应该将其分组或不分组

请纠正我.给我的例子.

解决方案
你的意思是,当一个复选框被选中其他复选框选中的值应该被删除?如果这是问题,那么我建议改用单选按钮.

否则,您可能会或可能不会使用组框.我会说什么使用户界面自我解释.


没有必要对复选框进行分组,因为它们是独立的.如果您正在谈论单选按钮,则需要使用<asp:radiobuttonlist xmlns:asp="#unknown"></asp:radiobuttonlist>进行分组.参见 http://www.codetoad.com/asp.net/aspnetcontrols11.asp [ ^ ]


Dear all,

if more than one check boxes using in application, must and should take group or not

Please correct me. give me example.

解决方案

Do you mean that when a check box is checked the checked value from other check boxes should be removed? If that is the question, then I''d suggest using radio buttons instead.

Otherwise you may or may not use a group box. I''d say whatever makes the user interface self explaining.


There is no reason to group checkboxes because they are independent. If you are talking about Radio Buttons, that will require grouping using <asp:radiobuttonlist xmlns:asp="#unknown"></asp:radiobuttonlist>. See http://www.codetoad.com/asp.net/aspnetcontrols11.asp[^]


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

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