This is a migrated thread and some comments may be shown as answers.

Delay the query until the user types a threshold number of characters?

1 Answer 61 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Darren
Top achievements
Rank 2
Darren asked on 20 Sep 2012, 08:48 PM
Is there a way to hold off on querying the server until the user has, for example, typed at least 3 or 4 characters? If you have a large resultset to query against, and the user types several characters, won't the control try to make a round trip to the server on each key stroke?

1 Answer, 1 is accepted

Sort by
0
Kalina
Telerik team
answered on 21 Sep 2012, 02:06 PM
Hi Darren,

You can handle the  OnClientRequesting event as is described in this help article.

Regards,
Kalina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
AutoCompleteBox
Asked by
Darren
Top achievements
Rank 2
Answers by
Kalina
Telerik team
Share this question
or