I am using AutoComplete as Entry in LoginPage for UserEmail entry; In case the email entered has not been saved in the system, I do not want the [No result message] window to appear. How can I do that?
Xuan.
1 Answer, 1 is accepted
0
Didi
Telerik team
answered on 22 Feb 2024, 10:06 AM
Hello Xuan,
In general for hiding the no results message you have to set the text empty string to the NoResultsMessage, transparent color to the SuggestionViewBackgroundColor and SuggestionViewBorderColor properties. Then set the SuggestionViewBorderThickness="0" and SuggestionViewHeight to 0.
<telerik:RadAutoCompletex:Name="autoComplete"SuggestionViewHeight="0"SuggestionViewBackgroundColor="Transparent"SuggestionViewBorderColor="Transparent"SuggestionViewBorderThickness="0"NoResultsMessage=" "ItemsSource="{Binding Source}"TextSearchPath="Name"Placeholder="Show Suggestions on focus"><telerik:RadAutoComplete.BindingContext><local:ClientsViewModel/></telerik:RadAutoComplete.BindingContext></telerik:RadAutoComplete>