Completed
Last Updated: 13 Apr 2021 11:56 by ADMIN
Release 2021.1.413 (R1 2021 minor release)
Lewis
Created on: 27 Jan 2021 16:26
Category: Calendar & Scheduling
Type: Bug Report
0
Calendar: [UWP] Setting display date doesn't update the UI

Programmatically setting the DisplayDate property of the control doesn't update the UI (just shows the same date/appointments)

 

E.g.   Calendar.DisplayDate = Calendar.DisplayDate.AddMonths(2);

 

This worked in version 2020.1.114.1, but after updating the controls this no longer works. 

4 comments
ADMIN
Georgi
Posted on: 15 Mar 2021 13:56

Hello,

This item is available in latest internal build - LIB 2021.1.315 (15/3/2021)) and it will be also available in the next official release. You can find the LIB as a prerelease nuget or download the assemblies from your account.

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

ADMIN
Yana
Posted on: 02 Feb 2021 10:21

Hello Lewis,

Thank you for the follow-up.  I have managed to reproduce the described behavior on UWP - I confirm this is an issue on our side, so I updated the status of this bug report to "Unplanned".  We'll look into it at first chance. 

I am sorry for the caused inconvenience. I've updated your points as a small sign of gratitude for your involvement.

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

Lewis
Posted on: 01 Feb 2021 11:11

Hi Didi, 

 

That doesn't appear to be the issue in this case, I didn't set that property.  

To ensure it isn't any other properties causing the issue I created a new page with just a button and the calendar, I have found that when setting the display date within the constructor (as shown in your example) then it works correctly.

However, if you set it after clicking on the button then it doesn't.  

 

Hope that helps, let me know should you require further information. 

 

Kind regards,

Lewis.

ADMIN
Didi
Posted on: 29 Jan 2021 20:54

Hello Lewis,

Thank you for this report.

I cannot reproduce the issue in a sample project when setting only the display date.

I can reproduce the issue when TitleCellStyle is set. For example:

<input:RadCalendar x:Name="Calendar">
        <input:RadCalendar.TitleCellStyle>
            <input:CalendarCellStyle TextColor="Black"/>
        </input:RadCalendar.TitleCellStyle>
    </input:RadCalendar>

and in code behind: 

public MainPage()
{
    InitializeComponent();
    this.Calendar.DisplayDate = Calendar.DisplayDate.AddMonths(2);
}

We are aware of issues that the TitleCell text is not update when setting title cell style and display date, or navigating to a different view mode. 

The items status are in development:

https://feedback.telerik.com/xamarin/1422394-calendar-uwp-titlecell-text-is-not-updated-when-titlecellstyle-and-displaydate-are-applied 

https://feedback.telerik.com/xamarin/1502114-calendar-uwp-title-text-is-not-updated-when-going-from-monthview-to-dayview-and-titlecellstyle-is-set

Let me know whether the issue you can reproduce observes when TitleCellStyle is set. 

I look forward to your reply.

Regards,
Didi
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/.