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 change the text in the ComboBoxBarItem without changing the user selection

Thread ID:

Created:

Updated:

Platform:

Replies:

71522 Feb 4,2008 02:40 PM Feb 28,2008 12:33 PM Windows Forms 2
loading
Tags: Tools
Andrew
Asked On February 4, 2008 02:40 PM

When I make this call:

myBarItem.TextBoxValue = "XXX";

then the combo box's selecteditems are reset.

How can I change the text displayed in the textbox of the ComboBoxBarItem without changing which items are selected?


Administrator [Syncfusion]
Replied On February 10, 2008 02:07 AM

Hi Andrew,

Thank you for your interest in Syncfusion products.

You can change the TextBoxValue of ComboBoxBarItem without changing the user selection using Databindings concept. Please refer the sample in the below location and let me know if this helps you.

Sample

http://websamples.syncfusion.com/samples/Tools.Windows/F71522/main.htm

Regards,
Jaya


Andrew
Replied On February 28, 2008 12:33 PM

Thanks for your reply, however I do not think that will work in my case.

What I would like to do is have a multiple-select combo box that displays a comma-separated list of the selected items, rather than just the text of the first selected item. When I try to set the combobox text from code, it automatically changes the user selection.

Is there another solution?

Thanks,

Andrew


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.

;