This is a migrated thread and some comments may be shown as answers.

RadDateTimePicker not behaving as expected after modify its default style

3 Answers 45 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Aanchal
Top achievements
Rank 1
Aanchal asked on 17 Sep 2020, 12:07 PM

https://docs.telerik.com/devtools/wpf/controls/raddatetimepicker/styles-and-templates/styling-raddatetimepicker

After extracting the default style for RadDateTimePicker to the resource file to my application (as mentioned in the above page.), RadDateTimePicker is not working as expected.

For current month it picks up the correct date that is selected in the calendar. But for previous months and next months, it is picking up different date than selected.

telerik version- R1 2020

Attached the screenshot.

 

3 Answers, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 21 Sep 2020, 11:28 AM

Hello Aanchal,

Thank you for the shared picture.

Have you extracted the ControlTemplate from Visual Studio or from the theme XAML File? Sometimes the extraction through Visual Studio fails and grabbing the ControlTemplate from the xaml file is safer. 

I am attaching a sample project, where I have extracted the ControlTemplate for the RadDateTimePicker for the Fluent theme. Please, check out the shared project, give the above mentioned suggestion a try and let me know how it goes. 

Regards,
Vladimir Stoyanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Aanchal
Top achievements
Rank 1
answered on 22 Sep 2020, 08:55 AM

Hi,

I am able to use fluent theme in my application but in my telerik folder, I don't have a folder for fluent theme. Can you suggest what I need to do to get it?

Attaching the screenshot.

0
Vladimir Stoyanov
Telerik team
answered on 23 Sep 2020, 10:18 AM

Hello Aanchal,

Thanks for the shared picture.

It seems that you are using a UI for WPF version from 2017, however the Fluent theme was introduced in the R1 2018 release. If you want to use that theme, you can upgrade to the R1 2018 version or to the latest one. Note, that we generally recommend using the latest version as it contains the most features/bug fixes. 

I hope you find this information helpful. 

Regards,
Vladimir Stoyanov
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).

Tags
Calendar
Asked by
Aanchal
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
Aanchal
Top achievements
Rank 1
Share this question
or