Use KeyUpEvent/Handler instead of KeyPressEvent/Handler. Also you should 
build in a small timer so you do not fire server requests on every 
KeyUpEvent. So on each KeyUpEvent you schedule the same timer instance that 
should execute in the next 50ms (just an example). The timer then does the 
server search request. That way you will always ask the server for the 
search result 50ms after the last key has been typed. So it reduces the 
amount of server requests while typing in the textbox.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/Cr0Dtn1JlD0J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to