Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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?

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.