Hi Rajesh,
Thanks for your update.
Query1: “Does it work only when binding the autocomplete control with a list.”
The autocomplete accept not only list, it also accepts the custom data . We have prepared sample in which we have used both list and custom data. Please find the sample from the below link given.
Query2: “Can we use both the FocusChanged and the SelectionChanged event at the same time.”
Yes, we can use both the focuschanged and selection changed event at the same time. We have prepared sample in which we have used the focuschanged and selection changed event for validating and insert/deleting the data from the viewmodel . Please find the sample from the below link given.
Query3: “What is needed to make the autocomplete control clear the text in case it does not match with the DataSource when binding to a ViewModel.”
In the focus changed event we can achieve your requirement by checking the datasource with the text present in the autocomplete. We have prepared sample in which we have validated the auto complete text with the datasource. Based on the validation we made the autocomplete control clear the text in case it does not match with the DataSource when binding to a ViewModel. Please find the sample from the below link given.
Sample Link:
http://www.syncfusion.com/downloads/support/forum/134671/ze/AutoComplete_GettingStarted922804706
Regards,
Eswaran AT.