أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
Please help me finding out how to select multiple list or value from dropdown. As i have asked to use dropdown only, not listitem or listbox. please help//thank you in advance..
Yes, you can select multiple list items from a dropdown, you just have to use a for loop for selected items in code.
if u need code then wite me at '
In the basic Dropdown, multiple selection of list items are not allowed. you can use jQery Extensions or a third party control to this. or the other way around is 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.
There is also an avilable Code project example for MultiSelection DropDown.
http://www.codeproject.com/Articles/24205/MultiSelect-Dropdown-Control
Hopefully it will help
There a simple, elegant and smooth solution using one of most successful libraries; the MultiSelect jQuery extension.
Check this for details.
If the dropdown is meant to be just from UI perspective , you can have listbox with checkboxes inside , because that makes more sense , Put the listbox in div (display:none) and on the click of what appears to be a dropdown , make this (display:block and z-index:1) just below the div. You can bring the scroll through css.
If your talking about the <select> with <option> , multiple selection is possible , but the user will have to press ctrl for that , don't think that would be a good user experience.
I'm not sure what is the technology use are using, in case you are using asp.net, this link should give you an idea on how to select multiple values from a DropDown List
http://www.codeproject.com/Articles/18063/Multi-select-Dropdown-list-in-ASP-NET