Miscellaneous questions about multiselectioncombobox

Good Morning, We are trying to use the MultiSelectionComboBox control and we would like to know how to make a button that selects all the elements and another that deselects them. We would also like to know if it is possible to assign a value to each item. We are using the Windows Form controls over vb.net. Thank you. A greeting.

3 Replies

PB Priyanga Balasubramaniam Syncfusion Team October 10, 2017 07:17 AM UTC

Hi Andres,

Thank you for using Syncfusion products.

We can select and deselect all items in the Button click event using “SelectAll" and “UnSelectAll" methods and we can assign value for each item using "ValueMember" property. For more details please refer the below link.

Link: https://help.syncfusion.com/windowsforms/multiselectioncombobox/data-binding

You can download a sample for the same from the below link.

Sample:VB


Note: There is issue with "UnSelectAll" method till version 15.3.0.26. We have fixed this issue in our latest version 15.3.0.33.

Regards,
Priyanga B



AN Andres October 10, 2017 08:16 AM UTC


Good Morning, Thanks for your quick response. I have checked the source code that I have attached. I have not been able to loop to get all the values ​​of the selected items. Your code only allows me to select a value and not all that is what I need. How can I do it? Thank you. Regards

Edit: if enabled the check box is not marked with Me.multiSelectionComboBox1.SelectAll ()


PB Priyanga Balasubramaniam Syncfusion Team October 11, 2017 12:17 PM UTC

Hi Andres,

Thank you for your update.

We were able to reproduce the issue on our side and we have consider it as an issue. A support incident has been created to track the status of this issue under your account. Please log on to our support website to check for further updates.

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents  

Regards,
Priyanga B 


Loader.
Up arrow icon