Multi-select dropdown list in ASP.NET

后端 未结 8 1994
梦如初夏
梦如初夏 2020-11-27 04:22

Do any good multi-select dropdownlist with checkboxes (webcontrol) exist for asp.net?

Thanks a lot

相关标签:
8条回答
  • 2020-11-27 04:42

    jQuery Dropdown Check List can be used to transform a regular multiple select html element into a dropdown checkbox list, it works on client so can be used with any server side technology:


    (source: googlecode.com)

    0 讨论(0)
  • 2020-11-27 04:43

    Check this out. It's free one.

    http://irfaann.blogspot.com/2009/07/ajax-based-multiselect-dropdown-control.html

    HTH,

    0 讨论(0)
  • 2020-11-27 04:44

    HTML does not support a dropdown list with checkboxes. You can have a dropdown list, or a checkbox list. You could possibly fake a dropdowncheckbox list using javascript and hiding divs, but that would be less reliable than just a standard checkbox list.

    There are of course 3rd party controls that look like a dropdown checkboxlist, but they are using the div tricks.

    you could also use a double listbox, which handles multi select by moving items back and forth between two lists. This has the added benefit of being easily to see all the selected items at once, even though the list of total items is long

    (Imagine a list of every city in the world, with only the first and last selected)

    0 讨论(0)
  • 2020-11-27 04:46

    I like the Infragistics controls. The WebDropDown has what you need. The only drawback is they can be a bit spendy.

    0 讨论(0)
  • 2020-11-27 04:51

    Try this server control which inherits directly from CheckBoxList (free, open source): http://dropdowncheckboxes.codeplex.com/

    0 讨论(0)
  • 2020-11-27 04:52

    You could use the System.Web.UI.WebControls.CheckBoxList control or use the System.Web.UI.WebControls.ListBox control with the SelectionMode property set to Multiple.

    0 讨论(0)
提交回复
热议问题