I have one webpart I developed myself with <> "minicalendar webpart" control. I want to change the Sharepoint default calendar month view based on minicalendar months.
I can redirect with the following code to clicked month:
url = SPUrlUtility.CombineUrl(SPContext.Current.Site.Url, "Lists/Calendar/calendar.aspx?CalendarDate={0}&CalendarPeriod={1}");
url = string.Format(url, SPHttpUtility.UrlKeyValueEncode(day.Date.ToShortDateString()), "Month");
But the events are still showing current month. How can I change events in calendar view based on month that I clicked?