RadDatePicker not working on Android Emulator

1 Answer 212 Views
DatePicker
Elke
Top achievements
Rank 1
Elke asked on 10 May 2023, 07:27 AM

Hello,

starting your actual project "ControlsSamples" with an Android Emulator, the DatePicker not working (can't see any Date control). The same issue happens when i use the RadDatePicker in our own project.

We use the actual telerik Package 5.1.0.

Microsoft Visual Studio Professional 2022 

Telerik.UI.for.Maui 5.1.0

Please can you help me to solve this problem.

 

Best regards

Elke Albert

 

 

1 Answer, 1 is accepted

Sort by
0
Didi
Telerik team
answered on 10 May 2023, 08:33 AM

Hello Elke,

Thank you for the provided image.

Could you please share what is the .NET MAUI version you use. I am using version 7.0.59, VS for Windows 17.5.3 and the pickers work as expected.

There are several issues related to .NET Maui layouts with latest versions:         

https://github.com/dotnet/maui/issues/14537

https://github.com/dotnet/maui/issues/14520

https://github.com/dotnet/maui/issues/14562

The pickers internally use the Grid layout for the templates. I can suggest you set the .NET Maui version on app level:

<MauiVersion>7.0.59</MauiVersion>

and test whether this will solve the behavior. Add the version inside the .csproj file as shown here: https://github.com/edoust/MauiApp1/blob/787d157e33e6b82178d083047996f6138453adaf/MauiApp1.csproj#L11

Give this a try and let me know how it goes. 

Regards,
Didi
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Elke
Top achievements
Rank 1
commented on 11 May 2023, 08:47 AM

Hello Didi,

thank you for the answer.

This solves the problem. We used the actual maui Version 7.0.81.

Do you solve this problem for the actual Maui-Version ?

 

Best regards

Elke

Didi
Telerik team
commented on 11 May 2023, 08:54 AM

Hello Elke,

The issue is not related to the Telerik controls, it is in the .NET Maui layouts. I have shared the links in my answer about the grid layout issues. The behavior occurs in Telerik controls, as internally the controls use Grid layout. 

Tags
DatePicker
Asked by
Elke
Top achievements
Rank 1
Answers by
Didi
Telerik team
Share this question
or