If this worked in earlier releases, it no longer does.
Using iOS Simulator (set to iPhone 15 iOS 17.4) - with a DataGrid as below, double-clicking the text cell will crash the app. I have not yet tried on a native device build (not simulator.)
<telerik:RadDataGrid.Columns>
<telerik:DataGridTextColumn PropertyName="ObjectName" HeaderText="Name"/>
</telerik:RadDataGrid.Columns>
Microsoft Visual Studio 2022 v17.9.6
Microsoft.Maui.Controls 8.0.21
Full Stack Trace:
Hi,
Do you have on your roadmap to include a Shimmer View / Control as part of your .NET MAUI offerings to tidy up a screen loading indication.
From a UI/UX perspective, a shimmer sits better with our user community rather than a loading indicator.
Thank you,
Shane
I would like to draw attention to this at an early stage.
When using MAUI Nightly 8.0.20-nightly.10376, the app crashes immediately upon startup if you set Telerik Popup Settings in the MAUI Styles
See min repro example https://github.com/baaaaif/MauiNightlyCrash
<MauiVersion>8.0.20-nightly.10376</MauiVersion>
<Style TargetType="telerik:RadTimePicker">
<Setter Property="PopupSettings">
<Setter.Value>
<telerik:PickerPopupSettings IsHeaderVisible="False" />
</Setter.Value>
</Setter>
</Style>
From the inner Exception...:
Name | Value | Type | |
---|---|---|---|
◢ | InnerException | {"Object reference not set to an instance of an object."} | System.Exception {System.NullReferenceException} |
at Microsoft.Maui.Controls.AppThemeBinding.AppThemeProxy..ctor(Element parent, AppThemeBinding binding) at Microsoft.Maui.Controls.AppThemeBinding.Apply(Object context, BindableObject bindObj, BindableProperty targetProperty, Boolean fromBindingContextChanged, SetterSpecificity specificity) at Microsoft.Maui.Controls.BindableObject.SetBinding(BindableProperty targetProperty, BindingBase binding, SetterSpecificity specificity) at Microsoft.Maui.Controls.BindableObject.SetBinding(BindableProperty targetProperty, BindingBase binding) at Microsoft.Maui.Controls.BindableObjectExtensions.SetAppTheme[T](BindableObject self, BindableProperty targetProperty, T light, T dark) at Microsoft.Maui.Controls.BindableObjectExtensions.SetAppThemeColor(BindableObject self, BindableProperty targetProperty, Color light, Color dark) at Telerik.Maui.Controls.PickerPopupSettings.OnPopupOutsideBackgroundColorPropertyChanged(Color color) at Telerik.Maui.Controls.PickerPopupSettings..ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
The Bottom Sheet component provides an intuitive way to display additional content to the users. It appears on the bottom of a screen as an overlay and presents users with a choice of actions that they must take.
Progress/Telerik --
I would like Telerik to extend the Microsoft .NET MAUI MediaPicker control to support the selection of MULTIPLE Photos and/or Videos from the Image Gallery.
I believe this is a reasonably standard scenario for use cases where the user takes multiple Photos or Videos with the Camera and then would like to upload them to a server for storage in a web app and database.
The current Microsoft MediaPicker supports the selection of a SINGLE item only.
.NET MAUI - Platform Integration - Media - Photos and Videos
And while there are several GitHub libraries that have done this for Xamarin.Forms (and rely on Xamarin.Essentials), they are either archived or not updated in a timely manner like a 3rd Party - Paid For - Control would be.
Even Telerik/Progress has recently done a Blog Post on how to use the Microsoft Control - Leomaris Reyes published this:
Getting Started with the Media Picker in .NET MAUI
Also, I believe this Feature Request is asking for the same feature:
https://feedback.telerik.com/maui/1552553-upload-images-file-via-in-net-maui
Now, for me personally, I only need multiple image selection. So, if that's easier without the support for the other pieces, I would be happy. To be complete, I'm thinking others would need to select multiple videos.
From Ms. Reyes Blog Post....
private async void TakePhoto(object sender, EventArgs e)
{
FileResult photo = await MediaPicker.Default.PickPhotoAsync(new MediaPickerOptions
{
Title = "Select your photo"
});
// Here, add the code that is being explained in the next step.
}
The new control would have something like this:
private async void TakePhoto(object sender, EventArgs e)
{
IEnumerable<FileResult> photos = await RadMediaPicker.PickPhotosAsync(new MediaPickerOptions
{
Title = "Select your photos"
});
// Here, add the code to loop through and process the selected images
}
Please let me know if you require additional information.
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)
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
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>