如何在asp.net中创建多列放置选择列表 [英] How do I make a multi column drop select list in asp.net

查看:97
本文介绍了如何在asp.net中创建多列放置选择列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的asp.net网页上有一个下拉列表,有70个项目。现在,通过这个大清单选择对用户来说变得不安。我想知道有没有其他方式,无论是服务器控件还是我可以在客户端使用的任何javascript插件,甚至是jquery,我都可以用它来方便地显示这些项目,比如在多列中显示这些选项,在div。



请建议一些事情,以便我可以替换这70个项目的下拉列表。

解决方案

< blockquote>一个超长的下拉列表绝对是一场噩梦,多列甚至多重下拉都不会让它变得更好。如果列表项可以分组到几个类别,则首先使用单选按钮选择类别,然后根据所选类别过滤并填充下拉列表。另一种方法,考虑自动完成下拉。如果你问Google,有很多例子。以下是一个这样的讨论: http://baymard.com/blog/drop-down-usability [ ^ ]


I have a dropdownlist in my asp.net webpage, with 70 items. Now, selecting through this big list becomes uneasy for the user. I want to know is there any other way, be it server control or any javascript plugin that I can use in client side, even jquery, that I can use to display these items in a convenient manner, like displaying these options in multiple columns, in a div.

Please suggest some thing so that I can replace this dropdownlist of 70 items.

解决方案

An extra long list of drop down is definitely a nightmare, multi-column or even multi-dropdown is not going to make it any better. If the list items can be grouped onto a few categories, then first have radio buttons for choosing the category, then filter and populate the dropdown based on the selected category. Another way, consider an auto-complete drop down. There are many examples if you ask Google. Here is one such discussion: http://baymard.com/blog/drop-down-usability[^]


这篇关于如何在asp.net中创建多列放置选择列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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