I recently migrated my code from Xamarin.forms to MAUI.
RadListView.GetDataView now always returns null in MAUI , its working fine in Xamarin.forms.
I am trying to close all the groups while loading, but facing a null exception with DATAVIEW
protected override void OnAppearing()
{
base.OnAppearing();
try
{
//collapse all
var dataView = MyRadListView.GetDataView();
dataView.CollapseAll();}}
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?In certain situations, the RadTabView cuts off part of the header text for some of the headers. A specific scenario where this is happening is when the following tabs are present:
The problem is worse when the BorderThickness of the TabViewHeaderItem is set to 1
<Grid>
<telerik:RadTabView>
<telerik:RadTabView.HeaderItemStyle>
<Style TargetType="telerik:TabViewHeaderItem">
<Setter Property="BorderColor"
Value="Black" />
<Setter Property="BorderThickness"
Value="1" />
</Style>
</telerik:RadTabView.HeaderItemStyle>
<telerik:TabViewItem HeaderText="General" />
<telerik:TabViewItem HeaderText="Feed" />
<telerik:TabViewItem HeaderText="Users (0)" />
<telerik:TabViewItem HeaderText="Relationships (0)" />
<telerik:TabViewItem HeaderText="Tickets (0)" />
<telerik:TabViewItem HeaderText="Attachments (0)" />
</telerik:RadTabView>
</Grid>
Some phone cameras save the information about the orientation as EXIF data instead of rotating the raw image. We noticed this on our Samsung Android phones. But during my investigation, I found out that iOS does the same.
When I view such a picture using the MAUI Image control, it is shown correctly. But when I view it in the Telerik ImageEditor, the picture is rotated or flipped.
It seems this bug affects a lot of devices. Users can use the ImageEditor to fix it, but it's very annoying and not acceptable for production. A possible workaround is to write custom code that rotates the raw image according to the EXIF data. But I think an Image Editor control should be able to show images correctly out of the box.
Hello,
I am trying to run the Controls Sample to get familiar with the controls. However, I am unable to run the app on my attached iPhone.
The app begins to load and then crashes.
2022-09-28 15:09:46.859 Xamarin.PreBuilt.iOS[28369:1992314] Could not resolve assembly Microsoft.VisualStudio.DesignTools.TapContract, Version=17.0.0.0, Culture=neutral, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/46038C78-9283-4AE5-A2D9-7EA2D530A685/Documents/ControlsSamples.content/Microsoft.VisualStudio.DesignTools.TapContract.dll' or one of its dependencies.
It appears that by the amount of problems that I have encountered so far that Telerik UI for .NET MAUI has not been tested at all on IOS.
Your own ControlSamples do not run for IOS.
Anyway..
Next problem.
IOS Specific only.
<telerik:RadComboBox ItemsSource="{Binding Items}"
Placeholder="Select Status"
IsDropDownClosedOnSelection="True"/>
note that to use the Telerik Custom Controls it is necessary to either add an x:name to each control, or dummy instantiate each one.
This can be done in MauiProgram.cs.
Add line
_ = new RadComboBox();
A runtime error occurs when using telerik:RadComboBox and the application will abort.
2022-08-05 10:24:05.765 Xamarin.PreBuilt.iOS[5889:422588] *** NSForwarding: warning: object 0x2837b0780 of class 'Telerik_Maui_InputElement_RadTextField' does not implement methodSignatureForSelector: -- trouble ahead
<VerticalStackLayout>
<Label
Text="Welcome to .NET MAUI!"
VerticalOptions="Center"
HorizontalOptions="Center" />
<Label Text="Status:" />
<telerik:RadComboBox/>
</VerticalStackLayout>
This works for Android. IOS gives error "Cannot resolve type "http://schemas.telerik.com/2022/xaml/maui:telerik:RadComboBox"
But telerik:RadCheckBox does not have the same problem.
<VerticalStackLayout>
<Label
Text="Welcome to .NET MAUI!"
VerticalOptions="Center"
HorizontalOptions="Center" />
<Label Text="Status:" />
<telerik:RadCheckBox IsChecked="True"/>
</VerticalStackLayout>
Will work for IOS and Android.
How do I fix this?
I am using VS Community 2022 Preview
Version 17.3.0 Preview 6.0
and Telerik.UI.for.Maui.Trial 2.2.0