Telerik Forums
UI for .NET MAUI Forum
1 answer
46 views

Simple project with a DataGrid on the MainPage.

After updating VS 2022 to 17.3 Preview 2.0, an error occurs when trying to debug the project.

If running the Windows platform, I get an error which prevents the project from running (see image). PRI175 "Duplicate Entry"

If running the Android platform, the project runs, but there's an error (FileNotFoundException: Telerik.Maui.Core.resources) during start up and the DataGrid does not render.

If I comment out the DataGrid in the XAML, the project loads without error.

I am using the latest Telerik for Maui (1.0.1)

 

 

Lance | Manager Technical Support
Telerik team
 answered on 17 Jun 2022
1 answer
7 views

Hey Team,

I got a error when we added Telerik.UI.for.MAUI.Trial 1.0.1 reference into my MAUI class libraries, It said Project XXX is not compatible with net6.0 (.NETCoreApp,Version=v6.0). Project XXX supports: net6.0-windows10.0.19041 (.NETCoreApp,Version=v6.0)

For right now we created Unit Test for ClassLibrary and it is related Net 6.0. ClassLibrary needs other projects reference which include telerik, you can see my below screenshot.

Repro steps:

1. Create a MAUI class Library A and add Telerik.UI.for.MAUI.Trial 1.0.1 reference into library A.

2. Create a MAUI ClassLibrary B and add ClassLibraryA reference into B.

Is there a way to fix this issue?

 

Thanks

Allen

 

 

Antoan
Telerik team
 answered on 06 Jul 2022
1 answer
6 views

Hello,

Im Implementing Telerik trail version of MAUI for MAC using Visual Studio 17.3 preview and when I try to use the feature of multi screen in MAUI for MAC I get the following error using Telerik: 

Terminating app due to uncaught exception 'NSObjectNotAvailableException', reason: 'UIAlertView is deprecated and unavailable for UIScene based applications, please use UIAlertController!'

I do the configuration that Microsoft indicates to use multi windows in MAUI MAC by adding the class named SceneDelegate to the platform (MacCatalyst) and edit the plist file of the platform(MacCatalyst), after that and using Telerik the application crashes before it can show anything. So if I reset the info.plist file it works.

Also I did another test in a new project and when I use the multi window the Telerik elements disappear.

Thank you in advance.

Didi
Telerik team
 answered on 05 Jul 2022
0 answers
7 views

What should I do

 

 

 

 

 

 

 

盼宇
Top achievements
Rank 1
Iron
 asked on 30 Jun 2022
1 answer
14 views

ENV: Maui workload 6.0.312 with Telerik UI for .NET MAUI 1.0.1

#1: Dose RadComboBox the support insert a icon as placeholder and input validation as below in the future roadmap?

#2 the bordercolor doesn't work (tried in TelerikSample app as well), what do I miss for this bordercolor setting?

also tried the Maui workload 6.0.400 with Telerik UI for .NET MAUI 2.0.0
<telerik:RadComboBox SelectionMode="Multiple" IsEditable="True" BorderColor="Green" BorderThickness="3"
                     DropDownBorderColor="Blue"
                     DropDownBorderThickness="2"
                     DropDownCornerRadius="5"
                     DropDownBackgroundColor="LightBlue">
                <telerik:RadComboBox.ItemsSource>
                    <x:Array Type="{x:Type x:String}">
                        <x:String>USA</x:String>
                        <x:String>Uganda</x:String>
                        <x:String>Ukraine</x:String>
                        <x:String>Canada</x:String>
                        <x:String>France</x:String>
                        <x:String>Italy</x:String>
                        <x:String>United Kingdom</x:String>
                        <x:String>China</x:String>
                        <x:String>Japan</x:String>
                    </x:Array>
                </telerik:RadComboBox.ItemsSource>
            </telerik:RadComboBox>

Antoan
Telerik team
 answered on 28 Jun 2022
1 answer
11 views

Hi, today found i cannot use theming (Light and Dark) for DataGrid, because DataGridBorderStyle class not support binding for the BackgroundColor, BorderColor and TextColor

Deyan
Telerik team
 answered on 28 Jun 2022
1 answer
18 views

The RadCheckBox CheckedSymbolColor doesn't reflect the value I've chosen (testing WinUI at the moment).

Any advice?

Didi
Telerik team
 updated answer on 27 Jun 2022
0 answers
17 views

Hi, today found bug in DataGrid on Mac OS. I'm using Macbook Air M1. When user resizes window with DataGrid inside - somehow grid content goes behind the header (see video)

There is nothing specific or customize, just did very simple grid.


<telerik:RadDataGrid x:Name="dataGrid" ItemsSource="{Binding ViewModel.Files}" Margin="50,100,30,30" 
                             AutoGenerateColumns="False" RowHeight="45">
            <telerik:RadDataGrid.Columns>
                <telerik:DataGridTemplateColumn HeaderStyle="{StaticResource HeaderCellStyle}" HeaderText="Name" Width="250"
                                                CellContentTemplate="{StaticResource NameColumnCellTemplate}" 
                                                CanUserSort="False" CanUserFilter="False" CanUserEdit="False" />
                <telerik:DataGridDateColumn HeaderStyle="{StaticResource HeaderCellStyle}" HeaderText="Modified Date" Width="180"
                                            CellContentFormat="{}{0: dd/MM/yyyy H:mm tt}" PropertyName="LastModified" 
                                            CanUserSort="False" CanUserFilter="False" CanUserEdit="False" />
                <telerik:DataGridTextColumn HeaderStyle="{StaticResource HeaderCellStyle}" HeaderText="Tag(s)" Width="170"
                                            PropertyName="Tags" 
                                            CanUserSort="False" CanUserFilter="False" CanUserEdit="False" />
                <telerik:DataGridNumericalColumn HeaderStyle="{StaticResource HeaderCellStyle}" HeaderText="Size" Width="130"
                                                 CellContentFormat="{}{0:D}" PropertyName="Size"
                                                 CanUserSort="False" CanUserFilter="False" CanUserEdit="False" />
            </telerik:RadDataGrid.Columns>
        </telerik:RadDataGrid>

Arkady
Top achievements
Rank 1
Iron
 asked on 24 Jun 2022
1 answer
31 views

I am trying to use Maui Combo box control one my screen but faced some strange issue.

After some interactions either by clicking the combo or by typing keyword the cursor started blinking so fast and due to this whole screen got stuck. I had to restart the application.

Please see the attached video for your reference.

Any help would be appreciated.

Antoan
Telerik team
 answered on 23 Jun 2022
1 answer
23 views

[Please ignore this same question in my other post about the hover style in the grid; putting it here to focus on this one subject]

How do I change the ListPicker to not show the dropdown button on the right side of the control? This is another change from Xamarin Forms to Maui and I don't see how to affect this.

Example from Xamarin Forms:

Same code in Maui:

Antoan
Telerik team
 answered on 22 Jun 2022
Top users last month
Benjamin
Top achievements
Rank 2
Iron
Christopher
Top achievements
Rank 1
Iron
Bernd
Top achievements
Rank 4
Bronze
Iron
Iron
Timothy J
Top achievements
Rank 1
Iron
Iron
Iron
Marian
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?