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.
Syncfusion Feedback

ComboBoxAutoComplete with AutoSuggest

Thread ID:

Created:

Updated:

Platform:

Replies:

78212 Dec 3,2008 01:06 PM UTC Dec 8,2008 06:54 AM UTC Windows Forms 5
loading
Tags: Tools
Schneider Leah
Asked On December 3, 2008 01:06 PM UTC

I'd like combobox to open a dropdown with the range of valid values automatically when the user starts typing text. But I can only get autocomplete functionality on the text box and the dropdown has to be opened manually.
Please help.


Administrator [Syncfusion]
Replied On December 4, 2008 11:12 AM UTC

Hi Leah,

Thank you for using Syncfusion products.

comboBoxAutoComplete : Display dropdown automatically

Please use the following codesnippet to display the dropdown with the range of valid values automatically when the user starts typing text.

[C#]

comboBoxAutoComplete1.AutoCompleteControl.SetAutoComplete(this.comboBoxAutoComplete1, AutoCompleteModes.AutoSuggest);

Please let me know if this helps you.

Regards,
Jaya



Schneider Leah
Replied On December 4, 2008 02:22 PM UTC

Thanks a lot!


Administrator [Syncfusion]
Replied On December 5, 2008 03:04 AM UTC

Hi Leah,

Thanks for the update.

Please let me know if you have any questions.

Regards,
Jaya


Schneider Leah
Replied On December 7, 2008 02:00 PM UTC

Hi,
Sonething weird with this property: it works for the first time you start typing but if the cursor leaves the combobox and then gets back - the drop down is not getting open...
Please help


Administrator [Syncfusion]
Replied On December 8, 2008 06:54 AM UTC

Hi Leah,

Thanks for the update.

Please try calling SetAutoComplete() method in comboBoxAutoComplete1_TextChanged event handler as follows and let me know if this helps you.


[C#]

void comboBoxAutoComplete1_TextChanged(object sender, EventArgs e)
{
comboBoxAutoComplete1.AutoCompleteControl.SetAutoComplete(this.comboBoxAutoComplete1, AutoCompleteModes.AutoSuggest);

Regards,
Jaya
}


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

;