RadDateTimePicker - Implicit Style

1 Answer 113 Views
General Discussions
Daniel
Top achievements
Rank 1
Silver
Bronze
Daniel asked on 11 Apr 2022, 03:12 PM | edited on 12 Apr 2022, 05:36 AM

Hi,

The default selection and selection not working.

See Attached demo.

        
Daniel
Top achievements
Rank 1
Silver
Bronze
commented on 11 Apr 2022, 03:17 PM

Daniel
Top achievements
Rank 1
Silver
Bronze
commented on 12 Apr 2022, 05:37 AM

Add rad datetime picker to tags.
Yana
Telerik team
commented on 12 Apr 2022, 12:30 PM

Could you elaborate a little bit more on this?
Daniel
Top achievements
Rank 1
Silver
Bronze
commented on 12 Apr 2022, 12:37 PM

these tags.

Yana
Telerik team
commented on 13 Apr 2022, 10:51 AM

Thank you for the follow-up.  I've added DateTimePicker tag for the Telerik UI for .NET MAUI product.

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 12 Apr 2022, 12:30 PM

Hi Daniel,

Thank you for pointing that issue with the selection in DateTimePicker -  the problem actually comes from the custom DisplayLabelStyle and the applied Margin which is not suitable as it offsets the Label out of the picker input.  Default Margin is platform-dependent and is set like this:

 <Setter Property="Margin" Value="{OnPlatform Android='3, 4, 2, 3', iOS='8', MacCatalyst='8', UWP='10, 5, 10, 7'}" />

You can just remove the Margin setting from the DisplayLabelStyle as well as PlaceholderLabelStyle in order to use the default values. I am going to update the articles as well.

As to the articles - yes,  you can use use only PopupSettings in case you're using Popup PickerMode and DropDownSetting in case of DropDown PickerMode.  I am going to update the snippets to avoid the confusion.

Regards,
Yana
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.

Tags
General Discussions
Asked by
Daniel
Top achievements
Rank 1
Silver
Bronze
Answers by
Yana
Telerik team
Share this question
or