|
-
Aug 17th, 2007, 05:58 PM
#1
Thread Starter
PowerPoster
Combobox autocomplete
I'm trying to finish off this project that someone else started - terrible design.
anyway, there is a combobox with a list of items. It does implement the SelectedIndexChanged event, which when the index is changed, binds data toa datasource to be seen to the user. Thats fine.
problem is, if we have say:
alpha
november
tango
tangle
if we type in "t", it will go to "tango" - thats fine. But if we continue to type in "ta", it will go to "tango", bind the data, then go to "alpha" and bind the data, so basically it is not drill down to the right item that we want, in this case "tango"
anyone have any ideas how to make it so that when the user types in say, 2-3 letters, it will drill down to that item without it going to the other items in the list when we type in the second character etc... ?
Obviously, its fine when we have no databinding going on the selectedindexchanged event. I do know whats going on but dont know how to implement the solution or where to go from here.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|