We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to bind the list of selected items of Multi Selection ComboBox

Thread ID:

Created:

Updated:

Platform:

Replies:

129235 Mar 6,2017 11:41 AM Mar 8,2017 06:56 AM Windows Forms 3
loading
Tags: MultiSelectionComboBox
Tran Thanh Phong
Asked On March 6, 2017 11:41 AM

I want to save the list of selected (checked) items from Multi Selection ComboBox to database via binding. But there are only DisplayMember, ValueMember to bind, I do not see some thing likes CheckedMember to bind list of selected items. Please guide me how to do that. Thank you!

Priyanga Balasubramaniam [Syncfusion]
Replied On March 7, 2017 07:20 AM

Hi Tran,

Thank you for contacting Syncfusion Support.

We can select the item programmatically in MultiSelectionComboBox by using "SelectedItems.Add" and "AddVisualItem" methods. To demonstrate this, we have prepared simple sample.

Please download the sample from the below location.

Sample:MultiSelectionComboboxSelection

Please let us know whether the above sample meets your requirement?

Regards,
Priyanga B


Tran Thanh Phong
Replied On March 7, 2017 09:21 AM

Hi Priyanga,

Thank you for your supporting! It's near my need. As I saw in this example, we select item via DisplayMember value and we need to solve another problem that there are two more rows have the same display name with different ID. We cannot select them individually. 

By the way, it's really useful in my case. Thank you!

Best regards,
Tran Thanh Phong

Priyanga Balasubramaniam [Syncfusion]
Replied On March 8, 2017 06:56 AM

Hi Tran,

We were able to reproduce the issue and have logged defect report regarding this. A support incident to track the status of this defect has been created 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  

Please let me know if you have any questions.

Regards,
Priyanga B

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;