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. Image for the cookie policy date

Combo box auto complete

Hi, I''m trying to use the combo box auto complete. When it is contained in a panel, this is working fine. But when the panel become dockable, it stops working. It''s not possible to open the list, and the auto complete isn''t working. Any ideas why? Thanks in advance, Gil K

1 Reply

AD Administrator Syncfusion Team July 8, 2004 07:10 PM

Hi Gil, The ParentForm property of the AutoCompleteControl of the ComboboxAutoComplete control is not being set when used with the DockingManager. This sample shows how you can take care of this as demonstrated in the following code snippet: private void panel1_Enter(object sender, System.EventArgs e) { if(this.panel1.Parent != null && this.comboBoxAutoComplete1.AutoCompleteControl.ParentForm != this) { this.comboBoxAutoComplete1.AutoCompleteControl.ParentForm = this; this.comboBoxAutoComplete1.AutoCompleteControl.DataSource = this.itemsList; } } Regards Arun

Loader.
Live Chat Icon For mobile
Up arrow icon