We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

VisibleDates wrong when MonthChanged

Hi

I´m trying to populate events into a calendar when changing  the month on xamarin.android. In order to know what days are shown in the calendar I take the VisibleDates Min and Max from the event args. This works fine while swiping or navigation left or right.
The visible dates matches the displayed dates.

But they do not match when I change the ViewMode and than select a different month. In this case the following is happening.
So let´s say we are displaying the days of the current month, and then click the month lable and select january of the current year. I get a MonthChanged event with the following args

((MonthChangedEventArgs) args).NewValue = 1/1/2019 
e.VisibleDates.First() == 11/1/2019
e.VisibleDates.Last() == 1/11/2020

so the VisibleDates do not match the changed month. Is there any event that i can subscribe to that notifies me if  VisibleDates changed? If not is there any way to get the correct VisibleDates from a given Month so i can load the correct CalendarInlineEvents?

Or is this a Bug that get´s fixed?

regards
Lars

2 Replies

IR Indumathi Ravichandran Syncfusion Team November 7, 2019 12:10 PM UTC

Hi Lars,    
   
Thank you for contacting Syncfusion support.   
   
We can able to reproduce the reported issue “Calendar showing inappropriate Visible dates when change the month through ViewMode changing (By clicking Month label [November 2019] for changing month)” and logged issue report for the same. We will fix the issue and include the issue fix in our upcoming Weekly Nuget release update which is planned to roll out on November 26, 2019. We appreciate your patience until then.   
    
You can track the status of this report through the below feedback link.  
   
 
    
Note: The provided feedback link is private, you need to login to view this feedback.   
   
Regards,   
Indumathi R   



IR Indumathi Ravichandran Syncfusion Team November 26, 2019 11:41 AM UTC

Hi Lars,                    
      
We have fixed the reported issue “Calendar showing inappropriate Visible dates when change the month through ViewMode changing (By clicking Month label [November 2019] for changing month) and included the issue fix in our latest Weekly NuGet release update version 17.3.0.29 which is available for download (nuget.org).

 
We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance. 
 
Regards,
Indumathi R 


Loader.
Up arrow icon