Simple combobox question on text and selected value

B

Brian Henry

say I have a databound combo box, which allows for text entry still
(DropDownStype = DropDown in this case).

now, If the user doesn't enter manually an item in the data bound list,
nothing should be selected of course, but I want if a user enters an item
that is in the list already, to select it, and only if the item is a
complete match to what they typed to be selected. This is kind of like an
auto complete scenerio, but allows for custom input of data that may or may
not be already in the data table. How would I get it to select the item
already in the list if it is entered? When I enter text that matches the
item, it highlights the item in the data table based list, but the selected
value does not seem to change and does not fire the selected item changed
event. I have another list of data bound to the selected value of this list,
so if I have the number "123a" in the list and i type in 123a it doesnt fire
the changed event and cause my other list to populate, but if i click on
"123a" in the list the other list populates... any solutions to this?
thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top