Telerik Forums
UI for .NET MAUI Forum
1 answer
24 views

Dear Telerik,

Can we customize radEntry of AutoComplete - like: add new button after Clear button?

 

Didi
Telerik team
 answered on 30 May 2025
1 answer
26 views

I have the below implementation where when a user is typing in the AutoComplete control it calls API to fetch results using keyed text. But noticed that its filtering out results that our web portal (also using Blazor AutoComplete TK) is showing. I want to show all results in the list that is fetched as the user types, but it's not showing them all.

Why?

The ItemsSource is Bound to a collection that contains all results, but it's filtering some out for some reason.


<fv:AutoComplete
			x:Name="specialtyAutoComplete"
			CompletionMode="Contains"
			CornerRadius="0,0,3,3"
			FontSize="12"
			ItemsSource="{Binding SpecialtyAutocompleteList}"
			Margin="0,10,0,0"
			Padding="0,0,30,0"
			Placeholder="Search for Specialty"
			SuggestionViewBackgroundColor="#FFF"
			SuggestionViewBorderThickness=".5"
			TextSearchPath="Synonyms">
			<fv:AutoComplete.Behaviors>
				<tk:RadEventToCommandBehavior Command="{Binding SpecialtyTextChangedCommand}" EventName="TextChanged" />
				<tk:RadEventToCommandBehavior Command="{Binding SpecialtyItemSelectedCommand}" EventName="SuggestionItemSelected" />
			</fv:AutoComplete.Behaviors>
			<fv:AutoComplete.SuggestionItemTemplate>
				<DataTemplate>
					<Grid
						ColumnDefinitions="Auto, *"
						Margin="8,0"
						RowDefinitions="Auto,Auto">
						<Image
							HeightRequest="15"
							Margin="7"
							Source="med_bag"
							VerticalOptions="Center"
							WidthRequest="15" />
						<Label
							FontSize="{OnPlatform Android=12, iOS=10}"
							Grid.Column="1"
							Text="{Binding Code}"
							TextColor="Black"
							VerticalOptions="Center"
							VerticalTextAlignment="Center" />
						<Label
							FontAttributes="Italic"
							FontSize="{OnPlatform Android=11, iOS=9}"
							Grid.Column="1"
							Grid.Row="1"
							Text="{Binding Synonyms}"
							TextColor="#AAA"
							VerticalOptions="Center"
							VerticalTextAlignment="Center" />
					</Grid>
				</DataTemplate>
			</fv:AutoComplete.SuggestionItemTemplate>
			<tk:RadAutoComplete.DisplayTextFormatter>
				<local:SpecialtyTextFormatter />
			</tk:RadAutoComplete.DisplayTextFormatter>
</fv:AutoComplete>

Didi
Telerik team
 answered on 23 Apr 2025
1 answer
95 views
Using RadAutocomplete, is there a way to set the vertical (or horizontal) text alignment. I've set the MinHeight for the control to match my other controls, but the autocomplete PlaceHolder and Text are aligned with the stop of the control, and I want it to be centered. (see image)
Didi
Telerik team
 answered on 24 May 2024
0 answers
52 views
Using RadAutoComplete 7.0.0 on iOS, and the positioning of the suggestion list seems way off.  If I set the position to "Top", then the suggestion list overlays the entry, making it impossible to see what I'm typing.  If I set the position to "Bottom" then the suggestion list if far away from the entry, not directly under it. (see image).  If this is how it displays, then the Telerik suite is unusable for us.  Is there someway to get the suggestion list to display directly under the Entry?

The XAML:
<telerik:RadAutoComplete x:Name="autoComplete"
Placeholder="Stock Number"
CompletionMode="StartsWith"
SuggestMode="SuggestAppend"
SuggestionViewPosition="Bottom"
TextSearchPath="StockNumber"
Style="{StaticResource TelerikAutoComplete}"
ItemsSource="{Binding StockNumbers}"
AutomationId="autoComplete" />
Rob
Top achievements
Rank 1
 asked on 21 May 2024
1 answer
114 views

Hi all,

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.

Didi
Telerik team
 answered on 22 Feb 2024
1 answer
129 views

How to get AutoComplete / filtering functionality for RadComboBox so that the list gets smaller as a user types?

<telerik:RadComboBox x:Name="TankComboBox"
                     IsEditable="True"
                     DisplayMemberPath="TankName"
                     ItemsSource="{Binding TanksObs}"
                     SelectedItem="{Binding SelectedTank, Mode=TwoWay}"
                     TextSearchPath="TankName"
                     Placeholder="Select tank...">
    <telerik:RadComboBox.FilterDescriptors>
        <telerik:FilterDescriptor PropertyName="TankName"
                                  Operator="Contains"
                                  IsCaseSensitive="False"/>
    </telerik:RadComboBox.FilterDescriptors>
</telerik:RadComboBox>
Didi
Telerik team
 answered on 06 Feb 2024
1 answer
237 views

Edit: RadTabView also leaks. Attached new sample app.

We have found leaks in these controls. I have attached a sample app that demonstrates the problem.

I have logged a support ticket but is anyone else experience similar leaks with these controls?

From the included readme.md:-


Description

Memory leaks when using

  • Telerik RadDataGrid
  • Telerik RadCalendar
  • Telerik RadAutoComplete
  • Telerik RadTabView

Configuration

  • Dotnet 8
  • Telerik.UI.for.Maui 6.6 (also happens with 6.5)
  • Windows 10

Steps to reproduce

Build and run application

  1. Run publish.ps1 to build the application in release mode
  2. Run _temp/publish/Maui-Memleaks.exe

Leaks for every instance (RED buttons)

  1. Click a RED button.
  2. Close the "Close" button
  3. Click the "GC.Collect" button. Note that the "Alive" count will keep increasing every time you click a RED button (ie memory leak)

Leaks for last instance (ORANGE buttons)

  1. Click a ORANGE button.
  2. Close the "Close" button
  3. Click the "GC.Collect" button. Note that the "Alive" count will only increase the first time (ie memory leak), on subsequent clicks the "Release" count will increase.

No leaks (GREEN buttons)

  1. Click a GREEN button.
  2. Close the "Close" button
  3. Click the "GC.Collect" button. Note that the "Release" count will always increase (ie no leaks)
Yana
Telerik team
 answered on 23 Jan 2024
0 answers
95 views
Hello I am Emmanuel Brosius i have an idea of Building an app but i don't know where to start from is it possible for me to learn from you because I really want to learn how to build an app if you can help me that would be awesome.
Emmanuel
Top achievements
Rank 1
 asked on 29 Oct 2023
1 answer
127 views

I have a RadAutoComplete which works fine. But what I need to do is to be able to Clear the selected value programmatically (not using the clear button).

We have a use case where a user can have a selected value from the autocomplete, but then they use a toggle/button to change how the screen performs an API (not using the RadAutoCompelte selected value, but a different property), but when the user selects that toggle, it still leaves the selected value in the UI.

The user can be confused as to what style lookup they are performing seeing as when they toggle the other style lookup using the toggle button, the selected value from the autocomplete is not cleared.

I have been unable to find an event or option to clear the selected value in the display.

Can you tell me if there is a way to do this?

thanks

Billy

Didi
Telerik team
 answered on 18 Oct 2023
1 answer
421 views

I have implemented the AutoComplete feature fed from API successfully. But when an Item in the list is selected, it leaves the Keyboard open.

The keyboard will only close upon hitting the "return" key in the soft keyboard. Users (in almost all cases) will expect the keyboard to close when selecting an item as it closes the dropdown list when item is selected.

How can I close the keyboard when the autocomplete item is selected? There doesn't appear to be an ItemSelected event.

Didi
Telerik team
 answered on 22 Jun 2023
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?