0

I am using combobox containing string like "01322-Abcdefg". Assigning datatable as datasource to it.

I want to use autosuggestion in combobox. I am using below code : combobox.DataSource = datatable combobox.AutoCompleteMode = AutoCompleteMode.Suggest combobox.AutoCompleteSource = AutoCompleteSource.ListItems

But this will only suggest initial characters only ( eg : 01322 ),In my case i want user to suggest value even if he/she type next set of characters ( eg : Abcdefg ).

Thanks

Preeti
  • 1,386
  • 8
  • 57
  • 112

1 Answers1

0

Create and implement your own version of IAutoComplete? It sounds like a common request so might be worth searching for existing solutions and questions first.

Community
  • 1
  • 1
Smudge202
  • 4,689
  • 2
  • 26
  • 44