This code is beautiful and breathes the performance!
An help to adapt it to my need would be welcome.
Dess | Tech Support Engineer, Sr.
answered on 12 Jul 2018, 10:46 AM
In order to reduce the requests on the google API, you can extract all items once when loading the application and store the records in an appropriate collection. Thus, when changing the text in the control you have chosen, you can use the already stored collection and don't extract any information from google.
The referred KB approach is applicable only for RadDropDownList because it has a completely different implementation compared to RadAutoCompleteBox. Hence, if you need to use the approach from the KB, feel free to use a RadDropDownList and simply set the hide the arrow by setting the DropDownListElement.ArrowButton.Visibility property to Collapsed. Otherwise, use the RadAutoCompleteBox and cache all records when loading the application in order to reduce the requests.
I hope this information helps. If you have any additional questions, please let me know.