On Month changed event

Hi,

I have some code I want to execute when the user changes the month in the calendar.

Can you please advise how to achieve this? The code should be called both when the user changes the month via the up, down arrows on the top right of the calendar in the Month view, but also when it changes it view the Year view. I would also need to know what month and year the user has selected.

Kind regards,
Razvan

3 Replies 1 reply marked as answer

PO Prince Oliver Syncfusion Team October 16, 2020 08:09 AM UTC

Hi Razvan, 

Thank you for contacting us. You can get the changes in month when drill up and drill down arrow icons are pressed in the calendar, in the Navigated event. You can  



You can get the name of the event as well as current view in the event argument. 

Let us know if you need any further assistance. 

Regards, 
Prince 



RA Razvan October 18, 2020 04:45 PM UTC

Hi,

The navigated event doesn't get triggered when navigating via the top left side buttons (The ones that take you to the year and decade views).
How do I detect that the user has changed the month via the Year view?

Kind regards,
Razvan


SN Sevvandhi Nagulan Syncfusion Team October 20, 2020 01:05 PM UTC

Hi Razvan,  


We considered the reported issue “Navigated event is not triggered when navigating to other month and year” as a bug in our end. We will include the fix in the November 4th, 2020 patch release. We appreciate your patience until then. 

You can track the status of the fix in the below feedback link. 
  



Regards,  
Sevvandhi N 


Marked as answer
Loader.
Up arrow icon