While working on a project i came across a functionality in which i need to implement auto suggest textbox using classic asp. I did it and it works fine. I’m using XMLHttp Request object to pick the database column values when user enter something in textbox.
Everything works fine. But if the table have too many rows (37,000+) in it, the performance of the application decreases. Please suggest what steps should i take in order to improve the performance in this case.
why not just showing a
SELECT TOP 15 [name] ...?why do you need to show them all…
if someone enters “B” I really (as a user) don’t expect you (the application) to show me all the possibilities.
…or am I wrong?
P.S. you need to start using something like jQuery … in around 10 lines you would do the same as all your javascript code 😉
added
It is normal to have the auto suggest box only start suggesting after the first 3 characters been typed … try this first!
just add in your
showHintmethod