I tested Android and iOS only. Other platforms i cannot test at the moment.
Given the following implementation of the Combobox i observ different behaviour if the bound item is a enum or a class.
<telerik:RadComboBox x:Name="a"
ItemsSource="{Binding CloudProviders}"
SelectedItem="{Binding SelectedCloudProvider}"
IsClearButtonVisible="False">
<telerik:RadComboBox.ItemTemplate>
<DataTemplate>
<Grid HeightRequest="40"
Padding="10">
<Label Text="{Binding Title}"
TextColor="{DynamicResource DisabledTextColor}"
FontSize="14" />
</Grid>
</DataTemplate>
</telerik:RadComboBox.ItemTemplate>
<telerik:RadComboBox.SelectedItemTemplate>
<DataTemplate>
<Grid HeightRequest="40"
Padding="10">
<Label Text="{Binding Title}"
TextColor="{DynamicResource DisabledTextColor}"
FontSize="14" />
</Grid>
</DataTemplate>
</telerik:RadComboBox.SelectedItemTemplate>
</telerik:RadComboBox>
If the Itemssource is a Array of a enum type it works as intended.
If the Itemssource is a Array of classes the initial selected display member is not visible. The moment i tap into the closed combobox, the selected member is visible.
The attached screenshots show the page after loading and after touching into the white area(combobox) once.
For Localization and more details, we want to use classes. Is this a bug or do we have a issue in our code here?
We have discovered an error when you implement IWindowCreator and create custom window and connect viewmodel via AddSingleton approach
This is the stack-trace:
at System.ThrowHelper.ThrowArgumentOutOfRange_IndexMustBeLessException() at System.Collections.Generic.List`1.get_Item(Int32 index) at Telerik.Maui.RadScreen.GetPixelScale(DipScaleType dipScaleType) at Telerik.Maui.Controls.RadScreenControls.GetPixelScale(VisualElement visualElement, DipScaleType dipScaleType) at Telerik.Maui.Controls.SkiaSharp.SkiaPainter.GetPixelScale() at Telerik.Maui.Controls.SkiaSharp.SkiaPainter..ctor(SkiaPainterCacheSettings cacheSettings) at Telerik.Maui.Controls.Compatibility.DataGrid.MasterArranger..ctor(RadDataGrid dataGrid, NonLayoutPanel root, SkLayoutSlotProvider skLayoutSlotProvider) at Telerik.Maui.Controls.Compatibility.DataGrid.RadDataGrid.InitArrangers() at Telerik.Maui.Controls.Compatibility.DataGrid.RadDataGrid.Telerik.Maui.Controls.Compatibility.DataGrid.IGridView.AttachColumn(DataGridColumn column) at Telerik.Maui.Controls.Compatibility.DataGrid.GridModel.AttachColumn(DataGridColumn column) at Telerik.Maui.Controls.Compatibility.DataGrid.DataGridColumnCollection.AttachColumn(DataGridColumn column) at Telerik.Maui.Controls.Compatibility.DataGrid.DataGridColumnCollection.InsertItem(Int32 index, DataGridColumn item) at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor) at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
It took me about 2 days, but finally i've reached out a repo out of the real world app, where the iOS RadListView crashes the app.
Start this repo app on a iPhone 15 Simulator:
https://github.com/baaaaif/TelerikListViewCrash
The ListView crashes the app when the cell is quite high and the height of the list and the height of the cell reach a certain (unknown) ratio
This is in the logs right before the crash :
Native Crash Reporting
TelerikListViewCrash : -[TKListViewLayoutChange applyToAll:] 0x1023126e0 - /Users/nicokuenzler/Library/Developer/CoreSimulator/Devices/47FE3DF0-D39D-427A-9E82-0FCD7B14D208/data/Containers/Bundle/Application/88F8A1C5-46EB-4C80-A80D-A2699030842A/TelerikListViewCrash.app/TelerikListViewCrash : -[TKListViewLayoutChangeManager optimize] 0x10237e174 - /Users/nicokuenzler/Library/Developer/CoreSimulator/Devices/47FE3DF0-D39D-427A-9E82-0FCD7B14D208/data/Containers/Bundle/Application/88F8A1C5-46EB-4C80-A80D-A2699030842A/TelerikListViewCrash.app/TelerikListViewCrash : -[TKListViewLinearLayout layoutAttributesForElementsInRect:] 0x184a7f6c4 - /Library/Developer/CoreSimulator/Volumes/iOS_21C62/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.2.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UICollectionViewData _layoutAttributesForElementsInRectForMapping:] 0x185347778 - /Library/Developer/CoreSimulator/Volumes/iOS_21C62/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.2.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[_UICollectionViewDataAttributesMap _validateLayoutInRect:] 0x184a81770 - /Library/Developer/CoreSimulator/Volumes/iOS_21C62/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.2.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UICollectionViewData validateLayoutInRect:] 0x184a824d4 - /Library/Developer/CoreSimulator/Volumes/iOS_21C62/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.2.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UICollectionViewData layoutAttributesForElementsInRect:] 0x184a444b4 - /Library/Developer/CoreSimulator/Volumes/iOS_21C62/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.2.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UICollectionView _updateVisibleCellsNow:] 0x184a451c8 - /Library/Developer/CoreSimulator/Volumes/iOS_21C62/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.2.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UICollectionView _updateVisibleCellsNow:] 0x184a49ec4 - /Library/Developer/CoreSimulator/Volumes/iOS_21C62/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.2.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UICollectionView layoutSubviews] 0x10240bce4 - /Users/nicokuenzler/Library/Developer/CoreSimulator/Devices/47FE3DF0-D39D-427A-9E82-0FCD7B14D208/data/Containers/Bundle/Application/88F8A1C5-46EB-4C80-A80D-A2699030842A/TelerikListViewCrash.app/TelerikListViewCrash : -[TKCollectionView layoutSubviews]
Runtime exception with Microsoft .NET 8.0.100:
*** NSForwarding: warning: object 0x600002199c20 of class 'Telerik_Maui_Controls_Compatibility_ChartRenderer_iOS_TKExtendedChart' does not implement methodSignatureForSelector: -- trouble ahead
*** NSForwarding: warning: object 0x600002199c20 of class 'Telerik_Maui_Controls_Compatibility_ChartRenderer_iOS_TKExtendedChart' does not implement doesNotRecognizeSelector: -- abort
The issue occurs on:
Nuget - Telerik.UI.for.Maui 6.7.0
Maui Version 8.0.7
.NET SDK 8.0.100
Simulator - iOS 16.4 and 17.2 (Version 15.2 -1019)
Best regards
I'm looking to replace the Xamarin RadRichTextEditor control in my Maui app. The Maui native Editor control is good but doesn't scroll.
And to be honest, the RadRichTextEditor gave me more trouble than it was worth (I loved the functionality, but it wasn't a good fit for my implementation).
So, adding the appropriate support to RadEntry to make it more of a 'multiline text editor' or even a 'mini word processor' would be awesome.
Regardless of the RadEntry's BackgroundColor property, I've noticed the visible-background-color to differ when the RadEntry receives active focus.
The observed behavior is this:
Typically, in day mode settings (Windows default), the RadEntry's BackgroundColor == white so you don't see the problem. However, in night mode settings (Android default), we want the RadEntry's BackgroundColor == black so the problem is more prevalent since you're typing white text on a white background.
When using Visual States, and, if you try to re-enforce the same BackgroundColor property in all of the visual states, sometimes focus, hover, unfocus, hover, focus sequence will allow you to edit in the RadEntry in your desired RadEntry's BackgroundColor property instead of white, but, most of the time is white.
This problem can be reproduced on Windows and Android if you set your application to night mode Application.Current.UserAppTheme = AppTheme.Dark and set RadEntry's BackgroundColor=Black and TextColor=White in XAML. Put 2 or 3 RadEntry's on the page so you can navigate between them to see the problem.
Hello,
there is probably a Bug in the ListPicker Commands. (https://docs.telerik.com/devtools/maui/controls/listpicker/commands)
Like in the example:
private void OnAccept(object obj)
{
// implement your custom logic here
}
the object is null.
Shouldn't you get the selected value for further implementations?Hi,
Similar to WPF: WPF DataServiceDataSource - Overview - Telerik UI for WPF
Add gRPC as an alternative to WCF.
Thanks,
When programatically trying to add an item to RadComboBox.SelectedItems (in multiple selection mode) similar to this answer, we get an ArgumentOutOfRangeException on iOS. It works fine on Android.
The stack trace is strange:
[0:] {"@t":"2023-11-15T20:53:41.1123080Z","@mt":"Unhandled Exception","@l":"Fatal","@x":"System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')When I compile my project with <WindowsPackageType>None</WindowsPackageType> option, icons ar enot displayed in Telerik controls (like richeditor)
Same project compiled with package and deployed are ok
When the Source of a RadRichTextEditor is set, the TextColor is always black. Tested on Android:
<Grid HeightRequest="400"
WidthRequest="300">
<telerik:RadRichTextEditor x:Name="RichTextEditorControl"
Source="with source text"
TextColor="White"
BackgroundColor="Green" />
</Grid>
I have an html file with <img src="./images/ForkliftGateMainPage.png" alt="MainPage" width="1600" title="Page principale" />
The image is displayed when I open it with my browser, but not displayed with RadRichtextEditor, Why ?
I'm looking for a splitter control (to display master info on the left view and detailed info on the right view, and the possibility to resize both view)
i tried : Add Splitter control (telerik.com) but it's not working well (only moving a little bit, then it stops)
Any idea how to achieve this ?
I would like to see a new feature in the RadComboBox for "Select All" functionality.
Here is the general functional paradigm I'm hoping to see.
1. All Selection
2. Partial Deselection