Using OnRead to Open Autocomplete on Init

0 Answers 26 Views
AutoComplete
Phil
Top achievements
Rank 1
Phil asked on 12 Mar 2023, 02:55 PM

Hi

Im using the OnRead event to display data in the autocomplete which works fine as expected for remote data.

What I want to do is display the drop down when the application starts to show some local search results without typing in any text. The OnRead event does fire as it should when the component init runs and ive confirmed the data collection has data in it but the dropdown doesnt open up to show any data unless some text is entered.

Is what im wanting to do possible please?

Phil

Dimo
Telerik team
commented on 14 Mar 2023, 05:09 PM

Phil - are you using the Open method? If you call it in OnAfterRenderAsync, the AutoComplete dropdown show display.

No answers yet. Maybe you can help?

Tags
AutoComplete
Asked by
Phil
Top achievements
Rank 1
Share this question
or