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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Multicolumn Combo Box

Thread ID:

Created:

Updated:

Platform:

Replies:

70909 Jan 8,2008 09:11 PM UTC Jan 9,2008 08:10 AM UTC WinForms 1
loading
Tags: Tools
Scott Griswold
Asked On January 8, 2008 09:11 PM UTC

When a Multicolumn Combo Box is bound to a data source the combo shows the first item in the list rather then a blank. I have tried several ways to change this behavior, but have not been successful. Is there a way to programmatically blank out the combo box so that the user has to make a selection?

Scott




Jeba S [Syncfusion]
Replied On January 9, 2008 08:10 AM UTC

Hi Scott,

You can programmatically blank out the combo box by setting the text property to null after setting the data source.

Below is the code snippet:

this.multiColumnComboBox1.DataSource=mt;
this.multiColumnComboBox1.DisplayMember="ProductID";
this.multiColumnComboBox1.ValueMember = "ProductName";
this.multiColumnComboBox1.Text = null;


Please refer the sample and let us know if this helps.
http://websamples.syncfusion.com/samples/Tools.Windows/F70909/main.htm

Kindly let us know if you need any further assistance.

Thank you for using Syncfusion Products.

Best Regards,
Jeba.


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.

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

;