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

How to create custom ComboBox control like the ComboBoxAutoComplete?

You can create the custom ComboBox control like the ComboBoxAutoComplete by using the ButtonEdit and AutoComplete controls. The following steps show how to achieve this requirement.

  1. Load the ButtonEdit and AutoComplete controls, and provide DataSource support.
  2. Assign the TextBoxExt control in the ButtonEdit as the AutoComplete control’s target control, so that it processes the input based on its items.
  3. Display the AutoComplete popup depending upon the DropDown button selection.

The following code example demonstrates the same.

C#

 

VB

 

Note: When AutoComplete mode is set as disabled, the AutoComplete process is stopped.

 

Figure 1: AutoComplete popup shows matching text

Figure 2: AutoComplete popup shows on the ButtonEditExt

Sample Links:

C#: ButtonEditAutoComplete_CustomControl_C#

VB: ButtonEditAutoComplete_CustomControl_VB

Article ID: Published Date: Last Revised Date: Platform: Control:
5379 08/24/2015 08/24/2015 Windows Forms ButtonEdit
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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