Change to month view

Hi

Please help, 

I have a year view in my scheduler. (as attached image)

When user clicks in on day, how can change to month view in code behind?

Thanks in advance!



Attachment: question2_fba6196d.rar

1 Reply

RM Ruksar Moosa Sait Syncfusion Team March 15, 2022 03:45 PM UTC

Hi Jose,


We have prepared a sample to navigate to the month view on clicking a day from year view by using the ChangeCurrentView method and binding it to the OnMoreEventsClicked method like the below code snippet.


public void OnMoreEventsClicked(MoreEventsClickArgs args)

    {

        CurrentDate = args.StartTime;

        ScheduleObj.ChangeCurrentView(View.Month);

    }


Kindly try the attached sample and let us know if this meets your requirement.


Regards,

Ruksar Moosa Sait


Attachment: Change_date_to_month_view_5fa1ed0b.zip

Loader.
Up arrow icon