when setting MaxLength to RadEntry and this Entry is used in the Masked control template, the following exception occurs:
System.ArgumentOutOfRangeException: Index and length must refer to a location within the string. (Parameter 'length') at System.String.ThrowSubstringArgumentOutOfRange(Int32 startIndex, Int32 length) at System.String.Substring(Int32 startIndex, Int32 length) at Telerik.RadStringHelper.Replace(String inText, Int32 startIndex, Int32 length, String replacementString) at Telerik.Maui.Handlers.RadMaskedEntryHandler.OnShouldChangeCharactersEvent(Object sender, ShouldChangeCharactersEventArgs args) at Telerik.Maui.Platform.RadMauiEntry.OnShouldChangeCharacters(Object sender, ShouldChangeCharactersEventArgs args) at Telerik.Maui.Handlers.RadTextFieldDelegate.ShouldChangeCharacters(UITextField textField, NSRange range, String replacementString)
When loading images in the ImageEditor, some are rotated on 180. EXIF orientation property is not respected
Child nodes rendering issue in the template inside of TreeView. it's a random issue but it's easy to replicate specially if you
After updating our Maui application to Maui version 8.0.90, the Entry controls in the WinUI version stopped responding to WidthRequest, HorizontalOptions, or parent container sizes. I thought it was just a Maui problem, but in the relevant issue's notes, I saw that users were having trouble duplicating it unless Telerik UI for .NET Maui was installed (https://github.com/dotnet/maui/issues/24783).
So I created a test app that contains a few Entry controls in various containers:
<?xml version="1.0" encoding="utf-8"?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="WinUIEntryBug.MainPage">
<ScrollView>
<VerticalStackLayout
Padding="30,0"
Spacing="25">
<Border>
<Entry />
</Border>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Entry Grid.Column="0"></Entry>
</Grid>
<Frame>
<Entry />
</Frame>
<Entry />
</VerticalStackLayout>
</ScrollView>
</ContentPage>
Without the Telerik components added to the project, the Entry boxes render correctly:
But, when I add a reference to Telerik UI for .NET Maui version 7.1.0 (latest at the time this was written), I get this:
Note: I didn't even add UseTelerik() to the Builder in the MauiProgram.cs, just added the Nuget package.
Changing the WidthRequest, HorizontalOptions, MinWidthRequest, etc. does not affect their size. They do render correctly in iOS and Android, though.
If I then remove the UI for .NET Maui Nuget package, they go back to working.
In our main application, we are heavily dependent on Telerik components and have a substantial number of customers using the Windows version of our application, so this heavily impacts our ability to ship. Particularly since the Maui 8.0.90 fixes other bugs that we needed addressed.
I've attached my sample project with the Telerik UI for .NET Maui package installed. You can remove it to see the normal operation of the Entry boxes.
When updating to Telerik MAUI 8.0.0 and building the app on Android 5.1 the controls that use RadTextInput internally crash
Controls like, DataGrid, RadEntry, ComboBox, AutoComplete, Numeric, Masked
UNHANDLED EXCEPTION:
[MonoDroid] Java.Lang.NoSuchMethodError: no non-static method "Landroidx/appcompat/widget/AppCompatEditText;.getTextCursorDrawable()Landroid/graphics/drawable/Drawable;"
[MonoDroid] at Java.Interop.JniEnvironment.InstanceMethods.GetMethodID(JniObjectReference type, String name, String signature)
[MonoDroid] at Java.Interop.JniType.GetInstanceMethod(String name, String signature)
[MonoDroid] at Java.Interop.JniPeerMembers.JniInstanceMethods.GetMethodInfo(String method, String signature)
[MonoDroid] at Java.Interop.JniPeerMembers.JniInstanceMethods.GetMethodInfo(String encodedMember)
[MonoDroid] at Java.Interop.JniPeerMembers.JniInstanceMethods.InvokeVirtualObjectMethod(String encodedMember, IJavaPeerable self, JniArgumentValue* parameters)
[MonoDroid] at Android.Widget.TextView.get_TextCursorDrawable()
[MonoDroid] at Telerik.Maui.Handlers.RadTextInputHandler.MapCustomCursorColor(RadTextInputHandler handler, IRadTextInput virtualElement)
[MonoDroid] at Microsoft.Maui.PropertyMapper`2.<>c__DisplayClass5_0[[Telerik.Maui.IRadTextInput, Telerik.Maui.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7],[Telerik.Maui.Handlers.RadTextInputHandler, Telerik.Maui.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].<Add>b__0(IElementHandler h, IElement v)
[MonoDroid] at Microsoft.Maui.PropertyMapper.UpdatePropertyCore(String key, IElementHandler viewHandler, IElement virtualView)
[MonoDroid] at Microsoft.Maui.PropertyMapper.UpdateProperties(IElementHandler viewHandler, IElemen
.....
when applying Grouping and RowHeight to the DataGrid and expand the row details, the following happens -> The DataGrid in the RowDetails only appears for alternate rows.
In addition the RowHeight does not apply to the Grouping Row.
Remove the RowHeight from the DataGrid and set the CellContentStyle property to the columns and set the TextMargin to the DataGridTextCellStyle, and ButtonMargin to the DataGridToggleRowDetailsCellStyle. Here is an example when setting them to 0:
<telerik:DataGridTextCellStyle x:Key="cellStyle"
TextMargin="0"/>
<telerik:DataGridToggleRowDetailsCellStyle x:Key="toggleStyle"
ButtonMargin="0"/>
<telerik:RadDataGrid.Columns>
<telerik:DataGridToggleRowDetailsColumn CellContentStyle="{StaticResource toggleStyle}"
IsFrozen="True"/>
<telerik:DataGridTextColumn PropertyName="Country"
CellContentStyle="{StaticResource cellStyle}"
IsFrozen="True"
CanUserReorder="False" />
<telerik:DataGridTextColumn PropertyName="Capital"
CellContentStyle="{StaticResource cellStyle}" />
</telerik:RadDataGrid.Columns>
There is an issue on iOS when having a custom template for example IncomingSingleTextMessageTemplate which includes a Label with property TextType set to 'Html'. The app crashes with:
An unhandled exception of type 'System.ArgumentException' occurred in System.Private.CoreLib.dll: 'An item with the same key has already been added. Key: Telerik.Maui.Controls.Chat.TextMessage'.
when the tab IsEnabled is set to False -> the style of the disabled tab changes, but the the disabled tab is still clickable.
when the tab IsVisible is set to False -> the tab is not visible, but its content is still visible.
The Issue:
When interacting with the SlideView on a Windows touch device and having ScrollView as a child element:
Actual Behavior: Once the user swipes inside the ScrollView using a touch gesture, the SlideView loses control of the touch gestures and never regains it. This leaves the user unable to swipe between slides.
Expected Behavior: Swiping gestures should seamlessly transition between scrolling the content within the ScrollView and navigating the SlideView.
Environment Details:
Platform: Windows
Control: Telerik SlideView with ScrollView as child elements
Touch Device: Windows touch-enabled hardware
When creating a .NET MAUI blank net 9 template and adding for example PDF toolbar, the toolbar icons do not display as the app is build as unpackaged.
Solution:
Change the package type in the .csproj file:
from:
<WindowsPackageType>None</WindowsPackageType>
to:
<WindowsPackageType>MSIX</WindowsPackageType>