Is it possible to use the Telerik Autocomplete controls but have the data come from a cloud API call?
1 Answer, 1 is accepted
answered on 03 Sep 2021, 09:45 AM
Thank you for your interest in our RadAutoCompleteBox control.
The control does not provide an API to directly connect to a cloud and get the data from there. You will need to manually get the data and set the ItemsSource of the control. In this case, you could consider using the RadAutoSuggestBox control. The behavior is the same here. You will need to get the data before populating the control. The difference here is that the control provides two events that can be used to populate it ItemsSource. TextChanged and QuerySubmitted. The first one will be trigger on every user key input. The second one will be called when the user clicks enter or clicks on the search button on the right or choosing suggestion from the drop-down list. You can consider using one of those events which most fits your needs.