multiple selection on a dropdownlist
-
I was hoping to be able to use multiple selection upon a dropdownlist but the only info i have found is related to a dropdownlist in a datagrid. Is it possible then just to add the multiple selection to a dropdownlist the same way as when using the datagrid. thank you gfhg
-
I was hoping to be able to use multiple selection upon a dropdownlist but the only info i have found is related to a dropdownlist in a datagrid. Is it possible then just to add the multiple selection to a dropdownlist the same way as when using the datagrid. thank you gfhg
Dropdownlists are meant to allow user to select a single value. What you could do is cheat a little bit by displaying a ListBox on top of your combobox. To do that, capture the combobox dropdown event then call SuspendLayout of combobox, place dropdownlist on top, and call ResumeLayout of your combobox. When user is done selecting, hide the listbox.