Click here to Skip to main content
15,922,894 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am implementing Smart Search functionality on a text box in my mini project: When user type in a text box, the related contents are displayed in a div (using .innerhtml) on the same page.

To do so I have created a ASP.Net WebService. I am calling a WebService method "MyMethod" from javascript for each "keyup" in text box. It works fine.... but when user press so many keys then the service takes few time to respond, because n number of calls to the service method are there.

Meanwhile, if user click an anchor to navigate to the other page, an error occured: The Server Method "MyMethod" failed.

How do I resolve this problem?

any reply would be highly appreciated....
Posted
Updated 29-Dec-11 0:12am
v2

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