DisplayDate problem with SfScheduler

I have a problem with scheduler and DisplayDate. 
I created TabControl with two pages and two calendars. 
I have one common button to change the DisplayDate for both of those calendars through binding.
Lets say I start with 01.01 - I click the button two times and I got 03.01 date on first tab. Then I go to the second tab - the displayed date is also 03.01. I click the button two more times. I got 05.01 on the second tab. But when I get back to the first tab - the date there is 03.01 even that it should be 05.01. So now when I click the button one more time suddenly it goes to 06.01.

Should the SfSchedule be refreshed after setting the DisplayDate ? Or is it a bug ?
Code is in attachment.



Attachment: ScheduleWPFSample_99d04948.zip

2 Replies 1 reply marked as answer

KA Karthikraja Arumugam Syncfusion Team November 2, 2020 03:25 PM UTC

Hi Dominik, 
 
Thank you for contacting Syncfusion support. 
 
Currently, we are checking the reported issue with DisplayDate while using scheduler inside TabControl. We will check and update you further details on or before November 04, 2020. We appreciate your patience until then. 
 
Regards, 
Karthik Raja A 



KA Karthikraja Arumugam Syncfusion Team November 4, 2020 12:49 PM UTC

Hi Dominik, 
 
Thank you for your patience. 
 
We have checked the issue with display date. As per TabControl behavior, only visible tab element’s IsLoaded property is true, other tab elements are set to false. Hence while changing display date of second scheduler it doesn’t update the view.  
 
In further analysis we found that on switching to the next tab, controls are not refreshed so the display date not updated at all. So, to resolve this issue we can set display date for scheduler in the loaded event of scheduler. On switching between tabs, loaded event will trigger for current tab elements here set DisplayDate for scheduler. 
 
We hope this helps. Please revert us if you have any concern. 
 
Regards, 
Karthik Raja A 


Marked as answer
Loader.
Up arrow icon