Good morning,
We are using a RadCombobox within a user control as an employee selector tool. User types in a few characters of an employee name or number and it auto-populates with matches from our database.
The problem is our database is rather large and depending on the speed of the person typing it is sometimes performing a callback and executing a query which may return way too much data. For example:
User types "513"
Callback is initiated
ItemsRequested server-side event fires
SQL query executes and begins retrieving 25,000 records containing 513
Meanwhile, user is typing the rest of the employee#, but the server is waiting on SQL
I would like to make sure the ItemsRequested server-side event only fires when the user hits the Enter key after typing, is this possible?
We are using a RadCombobox within a user control as an employee selector tool. User types in a few characters of an employee name or number and it auto-populates with matches from our database.
The problem is our database is rather large and depending on the speed of the person typing it is sometimes performing a callback and executing a query which may return way too much data. For example:
User types "513"
Callback is initiated
ItemsRequested server-side event fires
SQL query executes and begins retrieving 25,000 records containing 513
Meanwhile, user is typing the rest of the employee#, but the server is waiting on SQL
I would like to make sure the ItemsRequested server-side event only fires when the user hits the Enter key after typing, is this possible?