Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access Combo box

Status
Not open for further replies.

jshurst

Programmer
Oct 27, 2004
1,158
US
I know I have seen this before (although maybe not on this forum). Can someone tell me how to make an asp.net combo act like an access combo? I want to be able to type in it. As I do I want it to automatically filter to that selection.

Thanks,
 
From looking at the example that it a little different than what I am trying to do. I don't what them to be able to enter a new value in the box, just "autocomplete" the value. Are you saying that this code can be modified for my situation?

Example: Let's say I have to values in the combo box, "Saab" and "Saturn". If I type "sat" in the box then it will automatically jump to "Saturn."
 
Oh. The default select lists works ALMOST like that. While you can't type in a value into the actual "box", if you dropdown the option values, and start typing there, it will jump to the nearest matching option.

But yes, you could also modify that example to constrain to existing values, and search for nearest matches.

Thomas D. Greer

Providing PostScript & PDF
Training, Development & Consulting
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top