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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to change the text in the ComboBoxBarItem without changing the user selection

Thread ID:





71522 Feb 4,2008 07:40 PM UTC Feb 28,2008 05:33 PM UTC WinForms 2
Tags: Tools
Asked On February 4, 2008 07:40 PM UTC

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 07:07 AM UTC

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.




Replied On February 28, 2008 05:33 PM UTC

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?




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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon