How to make combobox values searchable character by character (google like)?

adi2015

Member
Joined
Mar 4, 2015
Messages
17
Programming Experience
3-5
Hi,

I was wondering how to make combobox values searchable character by character (google like). For example, if text box cointains list of emploleey (their names), if I type 'J' I will get automatic generated list of names starting with J. If I type 'Ja' I will get autmatic list of names like, Jack, James, Jason...

Any help is appreciated and many thanks in advance.
Adi
 
Both the TextBox and ComboBox controls support auto-complete functionality. To do it with a ComboBox, you must have the DropDownStyle property set to DropDown, so that it will accept typed entry. You can set the AutoCompleteSource property to various values to draw suggestions from various places. If you want to use the items in the drop-down list as the source for suggestions then set it to ListItems.
 
Back
Top