AR
Anupama Roy
Syncfusion Team
November 1, 2006 05:23 AM UTC
Hi John,
We have investigated code related with this behavior. Looks like ComboBoxAutoComplete.AutoCompleteControl.SetAutoComplete() method is misused due to public access levels (also I suppose it's just an architectural flaw). Before and during drop down of suggest box and after it's closed, this method is called several times and sets different auto complete modes.To fix this, ComboBoxAutoComplete needs massive refactoring and the current architecture doesn't allow us to fix this.
As a workaround could you please try setting the AutoSuggest mode in the TextChanged event of ComboBoxAutoComplete.
private void comboBoxAutoComplete1_TextChanged(object sender, System.EventArgs e)
{
this.comboBoxAutoComplete1.AutoCompleteControl.SetAutoComplete(this.comboBoxAutoComplete1 ,
Syncfusion.Windows.Forms.Tools.AutoCompleteModes.AutoSuggest );
}
Thanks for choosing Syncfusion products.
Regards,
Anu.
AD
Administrator
Syncfusion Team
November 1, 2006 03:39 PM UTC
Anu,
Thanks for your response. We will implement the workaround as suggested, and if it does not provide the desired functionality, we will forego the usage of AutoSuggest and limit our inputs to the default AutoAppend.
Thanks again.
>Hi John,
We have investigated code related with this behavior. Looks like ComboBoxAutoComplete.AutoCompleteControl.SetAutoComplete() method is misused due to public access levels (also I suppose it's just an architectural flaw). Before and during drop down of suggest box and after it's closed, this method is called several times and sets different auto complete modes.To fix this, ComboBoxAutoComplete needs massive refactoring and the current architecture doesn't allow us to fix this.
As a workaround could you please try setting the AutoSuggest mode in the TextChanged event of ComboBoxAutoComplete.
private void comboBoxAutoComplete1_TextChanged(object sender, System.EventArgs e)
{
this.comboBoxAutoComplete1.AutoCompleteControl.SetAutoComplete(this.comboBoxAutoComplete1 ,
Syncfusion.Windows.Forms.Tools.AutoCompleteModes.AutoSuggest );
}
Thanks for choosing Syncfusion products.
Regards,
Anu.