How can we add keypress event in our textbox i.e whenever a key is pressed in a textbox and a values is typed it should call a web service.
we have a text box in which we enter some text and then on changed event of text box a service is called which posts a json and returns the data corresponding to it.
Now we want when we type just one letter or 2 or 3 letters of that string it should call the web service and give the matching result. Basically we need keypress functionality in textbox


