如何做到该用户只能从asp.net中的checkboxlist中选择一个值 [英] how to do that user can select only one value from checkboxlist in asp.net

查看:87
本文介绍了如何做到该用户只能从asp.net中的checkboxlist中选择一个值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何做到该用户只能从asp.net中的checkboxlist中选择一个值

how to do that user can select only one value from checkboxlist in asp.net

推荐答案

http://stackoverflow.com/questions/1146234/asp-net-checkboxlist-how- to-validate-a-user-choose-at-least-one-checkbox





这可能对你有帮助!





谢谢
http://stackoverflow.com/questions/1146234/asp-net-checkboxlist-how-to-validate-a-user-choose-at-least-one-checkbox


This may help you !


Thanks


看看这个:CheckBoxList Selection [ ^ ]


标准对于互联网。当用户看到检查列表时,他们希望能够选择多个内容。当用户看到收音机列表时,他们知道他们只能做出一个选择。您无需做任何事情就可以与用户沟通,他们只知道,无论他们使用什么浏览器,他们所在的国家/地区,他们都了解您的表单。当您执行诸如单选选项清单之类的操作时,它会让用户感到烦恼和困惑,因为他们没有看到他们期望的行为。所以你应该使用一个无线电列表。
Standards are important on the internet. When a user sees a check list they expect to be able to select multiple things. When a user sees a radio list they know they can only make one choice. You don't have to do anything to communicate this to your users, they just know, no matter what browser they use, what country they are in, they all understand your form. When you do things like have single selection checklists it simply annoys and confuses your users as they are not seeing the behaviour they are expecting. So you should use a radio list instead.


这篇关于如何做到该用户只能从asp.net中的checkboxlist中选择一个值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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