Hello, I have an issue in .NET MAUI 8.0 with the TabView control in the following code.
The error I get is: "DataTemplateContent
property does not support values of type TabViewItem." Additionally, the tag following the first DataTemplate does not exist.
The version of Telerik I am using is 7.1.0.
Telerik UI for MAUI 7.1, .NET 8.0
New .NET MAUI project. Added Telerik, added a DataGrid to XAML, I get the following when I try to run:
Microsoft.Maui.Controls.Element: Warning: Microsoft.Maui.Controls.SolidColorBrush is already a child of Telerik.Maui.Controls.RadBorder. Remove Microsoft.Maui.Controls.SolidColorBrush from Telerik.Maui.Controls.RadBorder before adding to Telerik.Maui.Controls.RadBorder.
Hi,
I've updated to the latest workload and MAUI versions to target iOS 18.
When an item is added to a RadListView I get an application crash which is not recoverable. Please note that I've upgraded Telerik.UI.for.Maui from 7.0.0 to 7.1.0.
Below is the error
Objective-C exception thrown. Name: NSInternalInconsistencyException Reason: Expected dequeued view to be returned to the collection view in preparation for display. When the collection view's data source is asked to provide a view for a given index path, ensure that a single view is dequeued and returned to the collection view. Avoid dequeuing views without a request from the collection view. For retrieving an existing view in the collection view, use -[UICollectionView cellForItemAtIndexPath:] or -[UICollectionView supplementaryViewForElementKind:atIndexPath:]. Dequeued view: <Telerik_Maui_Controls_Compatibility_DataControlsRenderer_iOS_ListView_UIListViewGroupHeaderCell: 0x1312df000; baseClass = UICollectionViewCell; frame = (0 0; 0 0); alpha = 0; gestureRecognizers = <NSArray: 0x30f0281d0>; backgroundColor = UIExtendedSRGBColorSpace 1 1 1 1; layer = <CALayer: 0x3078ad060>>; Collection view: <TKCollectionView: 0x11f39aa00; baseClass = UICollectionView; frame = (0 0; 0 0); clipsToBounds = YES; autoresize = W+H; gestureRecognizers = <NSArray: 0x303dab1b0>; backgroundColor = UIExtendedGrayColorSpace 0 0; layer = <CALayer: 0x3077297a0>; contentOffset: {0, 0}; contentSize: {0, 217.5}; adjustedContentInset: {0, 0, 0, 0}; layout: <TKListViewLinearLayout: 0x132300280>; dataSource: <Telerik_Maui_Controls_Compatibility_DataControlsRenderer_iOS_TKExtendedListView: 0x13201a100; frame = (0 0; 0 0); backgroundColor = UIExtendedGrayColorSpace 0 0; layer = <CALayer: 0x307729440>>>
Native stack trace:
0 CoreFoundation 0x000000018c3887d8 1532D3D8-9B3B-3F2F-B35F-55A20DDF411B + 534488
1 libobjc.A.dylib 0x000000018965b2e4 objc_exception_throw + 88
2 Foundation 0x000000018b7588d8 6D0212CC-3B9E-32C9-BE20-72989CE3ACB8 + 8452312
3 UIKitCore 0x000000018f4e4d5c 575E5140-FA6A-37C2-B00B-A4EACEDFDA53 + 10456412
4 UIKitCore 0x000000018fc244c4 575E5140-FA6A-37C2-B00B-A4EACEDFDA53 + 18056388
5 UIKitCore 0x000000018ec99254 575E5140-FA6A-37C2-B00B-A4EACEDFDA53 + 1757780
6 UIKitCore 0x000000018edf17c4 575E5140-FA6A-37C2-B00B-A4EACEDFDA53 + 3168196
7 AOS.RA.Mobile 0x000000010416bce4 -[TKCollectionView layoutSubviews] + 56
8 UIKitCore 0x000000018eaf9688 575E5140-FA6A-37C2-B00B-A4EACEDFDA53 + 54920
9 QuartzCore 0x000000018de2fc28 D8E8E86D-85AC-3C90-B2E1-940235ECAA18 + 494632
10 QuartzCore 0x000000018de2f7b4 D8E8E86D-85AC-3C90-B2E1-940235ECAA18 + 493492
11 QuartzCore 0x000000018de86914 D8E8E86D-85AC-3C90-B2E1-940235ECAA18 + 850196
12 QuartzCore 0x000000018de057c4 D8E8E86D-85AC-3C90-B2E1-940235ECAA18 + 321476
13 QuartzCore 0x000000018de48a0c D8E8E86D-85AC-3C90-B2E1-940235ECAA18 + 596492
14 UIKitCore 0x000000018eb8f568 575E5140-FA6A-37C2-B00B-A4EACEDFDA53 + 669032
15 UIKitCore 0x000000018eb8cb64 575E5140-FA6A-37C2-B00B-A4EACEDFDA53 + 658276
16 UIKitCore 0x000000018eb8c9d8 575E5140-FA6A-37C2-B00B-A4EACEDFDA53 + 657880
17 UIKitCore 0x000000018eb8c628 575E5140-FA6A-37C2-B00B-A4EACEDFDA53 + 656936
18 UIKitCore 0x000000018eb8d59c 575E5140-FA6A-37C2-B00B-A4EACEDFDA53 + 660892
19 CoreFoundation 0x000000018c35c328 1532D3D8-9B3B-3F2F-B35F-55A20DDF411B + 353064
20 CoreFoundation 0x000000018c35c2bc 1532D3D8-9B3B-3F2F-B35F-55A20DDF411B + 352956
21 CoreFoundation 0x000000018c359e24 1532D3D8-9B3B-3F2F-B35F-55A20DDF411B + 343588
22 CoreFoundation 0x000000018c358fbc 1532D3D8-9B3B-3F2F-B35F-55A20DDF411B + 339900
23 CoreFoundation 0x000000018c358830 CFRunLoopRunSpecific + 588
24 GraphicsServices 0x00000001d83381c4 GSEventRunModal + 164
25 UIKitCore 0x000000018eebeeb0 575E5140-FA6A-37C2-B00B-A4EACEDFDA53 + 4009648
26 UIKitCore 0x000000018ef6d5b4 UIApplicationMain + 340
27 AOS.RA.Mobile 0x00000001047e4da4 xamarin_UIApplicationMain + 60
28 AOS.RA.Mobile 0x0000000104b3dbb4 do_icall + 316
29 AOS.RA.Mobile 0x0000000104b3c4b4 do_icall_wrapper + 348
30 AOS.RA.Mobile 0x0000000104b30ec4 mono_interp_exec_method + 2836
31 AOS.RA.Mobile 0x0000000104b2ea5c interp_runtime_invoke + 236
32 AOS.RA.Mobile 0x0000000104afd634 mono_jit_runtime_invoke + 1116
33 AOS.RA.Mobile 0x0000000104aa4cf8 mono_runtime_invoke_checked + 148
34 AOS.RA.Mobile 0x0000000104aaaff4 mono_runtime_exec_main_checked + 116
35 AOS.RA.Mobile 0x0000000104b02c50 mono_jit_exec + 356
36 AOS.RA.Mobile 0x0000000104810038 xamarin_main + 2324
37 AOS.RA.Mobile 0x0000000104b6b484 main + 64
38 dyld 0x00000001b1d46ec8 3060D36A-16CE-3C3A-9258-3881459F5714 + 212680
The message of the exception:
Expected dequeued view to be returned to the collection view in preparation for display. When the collection view's data source is asked to provide a view for a given index path, ensure that a single view is dequeued and returned to the collection view. Avoid dequeuing views without a request from the collection view. For retrieving an existing view in the collection view, use -[UICollectionView cellForItemAtIndexPath:] or -[UICollectionView supplementaryViewForElementKind:atIndexPath:]. Dequeued view: <Telerik_Maui_Controls_Compatibility_DataControlsRenderer_iOS_ListView_UIListViewGroupHeaderCell: 0x1312df000; baseClass = UICollectionViewCell; frame = (0 0; 0 0); alpha = 0; gestureRecognizers = <NSArray: 0x30f0281d0>; backgroundColor = UIExtendedSRGBColorSpace 1 1 1 1; layer = <CALayer: 0x3078ad060>>; Collection view: <TKCollectionView: 0x11f39aa00; baseClass = UICollectionView; frame = (0 0; 0 0); clipsToBounds = YES; autoresize = W+H; gestureRecognizers = <NSArray: 0x303dab1b0>; backgroundColor = UIExtendedGrayColorSpace 0 0; layer = <CALayer: 0x3077297a0>; contentOffset: {0, 0}; contentSize: {0, 217.5}; adjustedContentInset: {0, 0, 0, 0}; layout: <TKListViewLinearLayout: 0x132300280>; dataSource: <Telerik_Maui_Controls_Compatibility_DataControlsRenderer_iOS_TKExtendedListView: 0x13201a100; frame = (0 0; 0 0); backgroundColor = UIExtendedGrayColorSpace 0 0; layer = <CALayer: 0x307729440>>>
Hi!
Is it possible to add move animation when call ObservableCollection.Move method?
Standard maui CollectionView supports the move animation.
I attached the sample to see what i mean.
Hi Team,
I am using CardActionsListView to display the images.
This works fine with Android and IOS, whereas in WINUI when uploaded an image it shows duplicate images, when refreshed the list it shows only one.
Can you provide any fix for this.
Thanks & Best Regards,
Mohammed Rameez Raza (Rameez)
When reloading a page containing RadRichTextEditor and updating the Source, the UI does not reflect the change in iOS only. The Source keeps the value that is assigned in the first page load. On Android, updating the Source after the first page load is properly reflected in the UI.
XAML:
<ContentPage
...
xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui">
<Grid>
...
<telerik:RadRichTextEditor x:Name="richTextEditor" />
<telerik:RadRichTextEditorToolbar x:Name="richTextEditorToolbar" RichTextEditor="{x:Reference richTextEditor}" />
...
</Grid>
</ContentPage>
protected override void OnAppearing()
{
base.OnAppearing();
richTextEditor.Source = _vm.GetHtmlBody();
}
VIEWMODEL:
public string GetHtmlBody()
{
return Value; // new value is assigned
}
Hi
I start a new Maui project from scratch and use the code from the documentation of the RadSignaturePad (https://docs.telerik.com/devtools/maui/controls/signaturepad/getting-started) but when I build I get a unhandled win32 exception.
If I build on android emulator there is no exception but the signature pad doesn't appear.
Anyone else have problems making the signature pad work?
Thank you
Hello,
if i use telerik maui version 6.6.0 RadDataGrid with target framework net8.0-windows10.0.19041.0 and Microsoft.Maui Controls 8.0.92 the following error occurs.
Thank you very much in advance.
Error:
Exception has been thrown by the target of an invocation.
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at Telerik.Maui.Controls.SkiaSharp.WriteableBitmapUtils.GetByteBuffer(IBuffer buffer)
at Telerik.Maui.Controls.SkiaSharp.RadSKXamlCanvas.CreateBitmap(Double width, Double height, SKSizeI& unscaledSize, Single& dpi)
at Telerik.Maui.Controls.SkiaSharp.RadSKXamlCanvas.Paint(Double width, Double height)
at Telerik.Maui.Controls.SkiaSharp.RadSKXamlCanvas.ArrangeOverride(Size finalSize)
at Microsoft.UI.Xaml.FrameworkElement.Microsoft.UI.Xaml.IFrameworkElementOverrides.ArrangeOverride(Size finalSize)
at ABI.Microsoft.UI.Xaml.IFrameworkElementOverrides.Do_Abi_ArrangeOverride_1(IntPtr thisPtr, Size finalSize, Size* result)
--- End of stack trace from previous location ---
at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0(Int32 hr)
at WinRT.ExceptionHelpers.ThrowExceptionForHR(Int32 hr)
at ABI.Microsoft.UI.Xaml.IUIElementMethods.Arrange(IObjectReference _obj, Rect finalRect)
at Microsoft.UI.Xaml.UIElement.Arrange(Rect finalRect)
at Microsoft.Maui.ViewHandlerExtensions.PlatformArrangeHandler(IViewHandler viewHandler, Rect rect)
at Microsoft.Maui.Handlers.ViewHandler`2.PlatformArrange(Rect rect)
at Microsoft.Maui.Controls.VisualElement.ArrangeOverride(Rect bounds)
at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IView.Arrange(Rect bounds)
at Telerik.Maui.Controls.Compatibility.DataGrid.MasterArranger.UpdatePainterRootSize()
at Telerik.Maui.Controls.Compatibility.DataGrid.MasterArranger.Arrange(IEnumerable`1 nodes)
at Telerik.Maui.Controls.Compatibility.DataGrid.RadDataGrid.LateArrange()
at Telerik.Maui.Controls.Compatibility.DataGrid.RadDataGrid.UpdateUI(Double x, Double y, Double width, Double height)
at Telerik.Maui.Controls.Compatibility.DataGrid.RadDataGrid.ArrangeChildren(Rect bounds)
at Telerik.Maui.Controls.RadLayoutManager.ArrangeChildren(Rect bounds)
at Microsoft.Maui.Controls.Layout.CrossPlatformArrange(Rect bounds)
at Microsoft.Maui.Platform.MauiPanel.CrossPlatformArrange(Rect bounds)
at Microsoft.Maui.Platform.MauiPanel.ArrangeOverride(Size finalSize)
at Microsoft.Maui.Platform.LayoutPanel.ArrangeOverride(Size finalSize)
at Microsoft.UI.Xaml.FrameworkElement.Microsoft.UI.Xaml.IFrameworkElementOverrides.ArrangeOverride(Size finalSize)
at ABI.Microsoft.UI.Xaml.IFrameworkElementOverrides.Do_Abi_ArrangeOverride_1(IntPtr thisPtr, Size finalSize, Size* result)
--- End of stack trace from previous location ---
at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0(Int32 hr)
at WinRT.ExceptionHelpers.ThrowExceptionForHR(Int32 hr)
at ABI.Microsoft.UI.Xaml.IUIElementMethods.Arrange(IObjectReference _obj, Rect finalRect)
at Microsoft.UI.Xaml.UIElement.Arrange(Rect finalRect)
at Microsoft.Maui.ViewHandlerExtensions.PlatformArrangeHandler(IViewHandler viewHandler, Rect rect)
at Microsoft.Maui.Handlers.ViewHandler`2.PlatformArrange(Rect rect)
at Microsoft.Maui.Controls.VisualElement.ArrangeOverride(Rect bounds)
at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IView.Arrange(Rect bounds)
at Microsoft.Maui.Layouts.VerticalStackLayoutManager.ArrangeChildren(Rect bounds)
at Microsoft.Maui.Controls.Layout.CrossPlatformArrange(Rect bounds)
at Microsoft.Maui.Platform.MauiPanel.CrossPlatformArrange(Rect bounds)
at Microsoft.Maui.Platform.MauiPanel.ArrangeOverride(Size finalSize)
at Microsoft.Maui.Platform.LayoutPanel.ArrangeOverride(Size finalSize)
at Microsoft.UI.Xaml.FrameworkElement.Microsoft.UI.Xaml.IFrameworkElementOverrides.ArrangeOverride(Size finalSize)
at ABI.Microsoft.UI.Xaml.IFrameworkElementOverrides.Do_Abi_ArrangeOverride_1(IntPtr thisPtr, Size finalSize, Size* result)
--- End of stack trace from previous location ---
at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0(Int32 hr)
at WinRT.ExceptionHelpers.ThrowExceptionForHR(Int32 hr)
at ABI.Microsoft.UI.Xaml.IUIElementMethods.Arrange(IObjectReference _obj, Rect finalRect)
at Microsoft.UI.Xaml.UIElement.Arrange(Rect finalRect)
at Microsoft.Maui.ViewHandlerExtensions.PlatformArrangeHandler(IViewHandler viewHandler, Rect rect)
at Microsoft.Maui.Handlers.ViewHandler`2.PlatformArrange(Rect rect)
at Microsoft.Maui.Controls.VisualElement.ArrangeOverride(Rect bounds)
at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IView.Arrange(Rect bounds)
at Microsoft.Maui.Layouts.LayoutExtensions.ArrangeContent(IContentView contentView, Rect bounds)
at Microsoft.Maui.Layouts.LayoutExtensions.ArrangeContentUnbounded(IContentView contentView, Rect bounds)
at Microsoft.Maui.Controls.ScrollView.Microsoft.Maui.ICrossPlatformLayout.CrossPlatformArrange(Rect bounds)
at Microsoft.Maui.Handlers.ScrollViewHandler.Microsoft.Maui.ICrossPlatformLayout.CrossPlatformArrange(Rect bounds)
at Microsoft.Maui.Platform.MauiPanel.CrossPlatformArrange(Rect bounds)
at Microsoft.Maui.Platform.MauiPanel.ArrangeOverride(Size finalSize)
at Microsoft.Maui.Platform.ContentPanel.ArrangeOverride(Size finalSize)
at Microsoft.UI.Xaml.FrameworkElement.Microsoft.UI.Xaml.IFrameworkElementOverrides.ArrangeOverride(Size finalSize)
at ABI.Microsoft.UI.Xaml.IFrameworkElementOverrides.Do_Abi_ArrangeOverride_1(IntPtr thisPtr, Size finalSize, Size* result)
--- End of stack trace from previous location ---
at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0(Int32 hr)
at WinRT.ExceptionHelpers.ThrowExceptionForHR(Int32 hr)
at ABI.Microsoft.UI.Xaml.IUIElementMethods.Arrange(IObjectReference _obj, Rect finalRect)
at Microsoft.UI.Xaml.UIElement.Arrange(Rect finalRect)
at Microsoft.Maui.ViewHandlerExtensions.PlatformArrangeHandler(IViewHandler viewHandler, Rect rect)
at Microsoft.Maui.Handlers.ViewHandler`2.PlatformArrange(Rect rect)
at Microsoft.Maui.Controls.ScrollView.ArrangeOverride(Rect bounds)
at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IView.Arrange(Rect bounds)
at Microsoft.Maui.Layouts.LayoutExtensions.ArrangeContent(IContentView contentView, Rect bounds)
at Microsoft.Maui.Controls.ContentPage.Microsoft.Maui.ICrossPlatformLayout.CrossPlatformArrange(Rect bounds)
at Microsoft.Maui.Platform.MauiPanel.CrossPlatformArrange(Rect bounds)
at Microsoft.Maui.Platform.MauiPanel.ArrangeOverride(Size finalSize)
at Microsoft.Maui.Platform.ContentPanel.ArrangeOverride(Size finalSize)
at Microsoft.UI.Xaml.FrameworkElement.Microsoft.UI.Xaml.IFrameworkElementOverrides.ArrangeOverride(Size finalSize)
at ABI.Microsoft.UI.Xaml.IFrameworkElementOverrides.Do_Abi_ArrangeOverride_1(IntPtr thisPtr, Size finalSize, Size* result)
--- End of stack trace from previous location ---
at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0(Int32 hr)
at WinRT.ExceptionHelpers.ThrowExceptionForHR(Int32 hr)
at ABI.Microsoft.UI.Xaml.IFrameworkElementOverridesMethods.ArrangeOverride(IObjectReference _obj, Size finalSize)
at Microsoft.UI.Xaml.FrameworkElement.ArrangeOverride(Size finalSize)
at Microsoft.UI.Xaml.FrameworkElement.Microsoft.UI.Xaml.IFrameworkElementOverrides.ArrangeOverride(Size finalSize)
at ABI.Microsoft.UI.Xaml.IFrameworkElementOverrides.Do_Abi_ArrangeOverride_1(IntPtr thisPtr, Size finalSize, Size* result)
--- End of stack trace from previous location ---
at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0(Int32 hr)
at WinRT.ExceptionHelpers.ThrowExceptionForHR(Int32 hr)
at ABI.Microsoft.UI.Xaml.IFrameworkElementOverridesMethods.ArrangeOverride(IObjectReference _obj, Size finalSize)
at Microsoft.UI.Xaml.FrameworkElement.ArrangeOverride(Size finalSize)
at Microsoft.UI.Xaml.FrameworkElement.Microsoft.UI.Xaml.IFrameworkElementOverrides.ArrangeOverride(Size finalSize)
at ABI.Microsoft.UI.Xaml.IFrameworkElementOverrides.Do_Abi_ArrangeOverride_1(IntPtr thisPtr, Size finalSize, Size* result)
--- End of stack trace from previous location ---
at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0(Int32 hr)
at WinRT.ExceptionHelpers.ThrowExceptionForHR(Int32 hr)
at ABI.Microsoft.UI.Xaml.IFrameworkElementOverridesMethods.ArrangeOverride(IObjectReference _obj, Size finalSize)
at Microsoft.UI.Xaml.FrameworkElement.ArrangeOverride(Size finalSize)
at Microsoft.UI.Xaml.FrameworkElement.Microsoft.UI.Xaml.IFrameworkElementOverrides.ArrangeOverride(Size finalSize)
at ABI.Microsoft.UI.Xaml.IFrameworkElementOverrides.Do_Abi_ArrangeOverride_1(IntPtr thisPtr, Size finalSize, Size* result)
--- End of stack trace from previous location ---
at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0(Int32 hr)
at WinRT.ExceptionHelpers.ThrowExceptionForHR(Int32 hr)
at ABI.Microsoft.UI.Xaml.IUIElementMethods.Arrange(IObjectReference _obj, Rect finalRect)
at Microsoft.UI.Xaml.UIElement.Arrange(Rect finalRect)
at Microsoft.Maui.Platform.WindowRootViewContainer.ArrangeOverride(Size finalSize)
at Microsoft.UI.Xaml.FrameworkElement.Microsoft.UI.Xaml.IFrameworkElementOverrides.ArrangeOverride(Size finalSize)
at ABI.Microsoft.UI.Xaml.IFrameworkElementOverrides.Do_Abi_ArrangeOverride_1(IntPtr thisPtr, Size finalSize, Size* result)
Hi,
I want to bypass the showing of appointment view when clicking on slot or in appointment created.
and how can I modify the week header.
I want to modify the header to have only 1 letter for days name and i want to make more smaller
then in the slot I want to remove the scroll when clicked I want to not show the appointment view .