I have a grid set up to use a filter row. When I type a character in one of the filter row headers, I can see a query being issued on the server side, complete with the text I'm typing applied as a filter in the query. But the grid doesn't update with the results until the user hits enter in the filter box or the filter loses focus (by tabbing or clicking to another control). In addition, this focus change causes a final query to be sent to the database.
I'd like to either have the grid update as the user is typing (making use of the query that's going out), or only query once, when the user hits the enter key or switches to another control, so that the extra queries aren't creating unnecessary load.
Do you have any ideas as to why the grid doesn't refresh until the enter key is pressed or the text box loses focus? Even though it's issuing queries during the act of typing?
Thanks!
I'd like to either have the grid update as the user is typing (making use of the query that's going out), or only query once, when the user hits the enter key or switches to another control, so that the extra queries aren't creating unnecessary load.
Do you have any ideas as to why the grid doesn't refresh until the enter key is pressed or the text box loses focus? Even though it's issuing queries during the act of typing?
Thanks!