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.

Combo box auto complete

Thread ID:

Created:

Updated:

Platform:

Replies:

16182 Jul 8,2004 12:25 AM Jul 8,2004 07:10 PM Windows Forms 1
loading
Tags: Tools
Gil Kalo
Asked On July 8, 2004 12:25 AM

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

Administrator [Syncfusion]
Replied On 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

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.

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.

;