Search code examples
.netautocompleteextender

Caching data in autocompleteextender


I would like to know how does autocompleteextender retrieve data using webservice. Does it re-call webservice each time new letter is typed or the webservice is called once on control load, and then the subset is parsed on each letter change using the given match.

Thanks


Solution

  • The AutoCompleteExtender has a setting called EnableCaching that is default on. When leaving this on, it is caching the searches, and if a search is done previously, it does not call the web service but retrieves the list from clent side cache.