Do any good multi-select dropdownlist with checkboxes (webcontrol) exist for asp.net?
Thanks a lot
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)
Check this out. It's free one.
http://irfaann.blogspot.com/2009/07/ajax-based-multiselect-dropdown-control.html
HTH,
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)
I like the Infragistics controls. The WebDropDown has what you need. The only drawback is they can be a bit spendy.
Try this server control which inherits directly from CheckBoxList (free, open source): http://dropdowncheckboxes.codeplex.com/
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
.