Click here to Skip to main content
15,122,559 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Everyone,

I am developing a mobile application in which I was fetching the patient's name from database to my combobox.

But now i want to use Textbox instead of Comobobox. So that if i will enter 'a' in textbox then the patient's name starting with 'a' should come in the textbox.

Any help is kindly appreciated.

Should i use textbox or listbox, please suggest.


1 solution

Don't know if it works for Mobile, but for winforms:[^]

Give it a try, and see it mobile has the needed features.
Saumyavemula 27-Apr-12 2:55am
Hiii this article is awesome but for mobile application its not working because the AutocompleteMode propertie for textbox is not available....

Can we do Autocompleted textbox for Mobile applications??
OriginalGriff 27-Apr-12 3:07am
If AutoCompleteMode is not available for Mobile, then you will have to do the whole thing manually. That means handling the TextChanged event, finding the first matching entry, and so forth - a fair amount of work.
But if it isn't provided and you need it (rather than just want it) that is what you will have to do.
I know of no existing control you can add that will do it on Mobile.
But you could write it up as an Article when you get it working!

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