If the ListView ItemTemplate contains more elements and you try to load more items (>15 items), there is a crash on iOS related to layout arrangements.
To workaround the issue, set explicitly ItemLength:
<telerikDataControls:RadListView.LayoutDefinition>
<telerikListView:ListViewLinearLayout ItemLength="400" />
</telerikDataControls:RadListView.LayoutDefinition>
When using load on demand mode manual, and collapsing groups, one item left not collapsed.
When you create a new project on Visual Studio for Mac, the project namespaces are not renamed to whatever the developer has entered.
Instead, they are stuck on the original template's source code naming of "TelerikXamarinApp1.WhateverPlatform".
Thank you,
Matt
This is from our production app. Cannot reproduce it, don't know exactly when or why it happens; we just have crashes logged to have happened to 9 users in the past year with a total of 30 occurences.
These are unhandled UWP exceptions, which mean that our app goes poof :)
System.ArgumentException: Value does not fall within the expected range at
System.ThrowHelper.ThrowAddingDuplicateWithKeyArgumentException(Object) + 0xf at
Telerik.UI.Xaml.Controls.Data.ListView.Model.BaseLayoutStrategy.RecycleLocally() + 0x320 at Telerik.UI.Xaml.Controls.Data.ListView.Model.BaseLayoutStrategy.MeasureContent(RadSize, Double, Double) + 0xd at Telerik.UI.Xaml.Controls.Data.ListView.Model.LayoutController.MeasureVertical(RadSize) + 0x1b9 at Telerik.UI.Xaml.Controls.Data.ListView.Model.LayoutController.MeasureContent(RadSize) + 0x42 at Telerik.UI.Xaml.Controls.Data.ListViewModel.MeasureContent(RadSize) + 0x2e at Telerik.UI.Xaml.Controls.Data.RadListView.OnContentPanelMeasure(RadSize) + 0x17f at Telerik.UI.Xaml.Controls.Data.ListView.ListViewPanel.MeasureOverride(Size) + 0x60 at Windows.UI.Xaml.FrameworkElement.global::Windows.UI.Xaml.IFrameworkElementOverrides.MeasureOverride(Size) + 0x26
System.ArgumentException: An item with the same key has already been added at
System.ThrowHelper.ThrowAddingDuplicateWithKeyArgumentException(Object) + 0xf at Telerik.UI.Xaml.Controls.Data.ListView.Model.BaseLayoutStrategy.RecycleLocally() + 0x320 at Telerik.UI.Xaml.Controls.Data.ListView.Model.BaseLayoutStrategy.MeasureContent(RadSize, Double, Double) + 0xd at Telerik.UI.Xaml.Controls.Data.ListView.Model.LayoutController.MeasureVertical(RadSize) + 0x1b9 at Telerik.UI.Xaml.Controls.Data.ListView.Model.LayoutController.MeasureContent(RadSize) + 0x42 at Telerik.UI.Xaml.Controls.Data.ListViewModel.MeasureContent(RadSize) + 0x2e at Telerik.UI.Xaml.Controls.Data.RadListView.OnContentPanelMeasure(RadSize) + 0x17f at Telerik.UI.Xaml.Controls.Data.ListView.ListViewPanel.MeasureOverride(Size) + 0x60 at Windows.UI.Xaml.FrameworkElement.global::Windows.UI.Xaml.IFrameworkElementOverrides.MeasureOverride(Size) + 0x26
RegEx mask doesn't work at all.
A very basic test mask, single digit required:
<telerikInput:RadMaskedInput x:Name="maskedInput" Mask="^[0-9]{1}$" MaskType="Regex">
Result:
Anything can be typed in.
In the ApplyMaskFinished event, e.IsAccepted == true.
On top of that, the control has problems when selecting, overtyping and inserting content.
Type something:
Select all text:
Type "1":
I'd expect the entire existing content to be deleted and new value to be "1".
Same goes for inserting a character:
Attempt to insert "4" between "3" and "5":
"5" is overtyped. Inserting doesn't work.
I have a Xamarin.Forms app, but I only am using it for UWP at the moment. The plan is to have Android and iOS later, but I am having issues with the RadNumericInput (Xamarin.Forms) and how the decimal key is handled.
Here is my XAML
<tkInput:RadNumericInput Grid.Row="4" Grid.Column="1" Value="{Binding Price, Mode=TwoWay}" StringFormat="{}{0:C2}" />
Right now, "Price" will default to 0. The UI will initially show $0.00 because of the StringFormat. That is working fine. When I put focus into the control, I only see 0, that is also fine. The issue is when I try to type a decimal. The value disappears and I see an issue in my Output that says -- Binding: can not be converted to type 'System.Int32'
Example steps:
**** Also, the Version of the Telerik controls I am using is -- 2019.2.603.360. The drop down below doesn't let me choose that version.
when using the justify toolbar item it does not justify the text.
System.ArgumentOutOfRangeException: Year, Month, and Day parameters describe an un-representable DateTime.
This issue happens when using DayView, MultiDayView, Month view modes and when scrolling through the calendar to change the selected date.
The issue happens on specific devices with android 14, Pixel 7, Galaxy S22.
Workaround:
Setting the time zone in calendar renderer to the DayView timelabelformat
public override bool TrySetViewMode(CalendarViewMode view, bool isAnimated)
{
if (view == CalendarViewMode.Day)
{
Control.DayView.DayEventsViewStyle.TimeLabelFormat.TimeZone = Java.Util.TimeZone.GetTimeZone("add time zone here");
}
return base.TrySetViewMode(view, isAnimated);
}
The FontSize of the Spinner ItemStyle changes when scrolling through the date/time and the Date/Time/TimeSpan and DateTime Pickers have SpinnerStyle
And the code used:
<ContentPage.Resources>
<ResourceDictionary>
<Style x:Key="PopupSpinnerStyle" TargetType="telerikDataControls:RadSpinner">
<Setter Property="HeightRequest" Value="220" />
<Setter Property="ItemLength" Value="44" />
<Setter Property="Margin" Value="0, 16"/>
<Setter Property="ItemStyle">
<Setter.Value>
<Style TargetType="telerikDataControls:SpinnerItemView">
<Setter Property="TextColor" Value="LightCoral" />
</Style>
</Setter.Value>
</Setter>
<Setter Property="SelectedItemStyle">
<Setter.Value>
<Style TargetType="telerikDataControls:SpinnerItemView">
<Setter Property="TextColor" Value="Black" />
<Setter Property="FontAttributes" Value="Bold" />
</Style>
</Setter.Value>
</Setter>
</Style>
</ResourceDictionary>
</ContentPage.Resources>
<StackLayout>
<telerikInput:RadTimePicker SpinnerStyle="{StaticResource PopupSpinnerStyle}"/>
</StackLayout>
My mobile app requires that my data grid have frozen columns on the left that do NOT scroll horizontally. This is useful when the first column might be an ID column or a Date column that the user always needs to see when scrolling through the other data columns.