Click here to Skip to main content
15,913,610 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
could any 1 help me with
i want to autosuggest combobox based on second word
my combobox contains strings in format "0132-ABC"

so if i type A my combobox should autosuggest all entries of this sought

i tried using cmb property autocompletemode suggest
but it works only for first word

thanx
Posted
Comments
Karwa_Vivek 19-May-11 2:47am    
I will suggest You to do
this Programmaticaly
Means Try to use Substring method to match
the Typed Word and the Database items.Try this
If you Can't .Get back to me
I think I can Provide you the
Solution

1 solution

You Must use the SuggestAppend property of the Combobox
Combobox.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900