I have created a SPCalendarView control in a visualwebpart[i have tried the same in the Webpart as well] for binding the events from a calendar list based on the start and end dates. I get the events from the calendar list for the current month and bind it to the spcalendarview for the current month.It works fine in this case. For the next month's or the previous month's events i bind events from the list when i click the next button in the spcalendar view based on the value i get from the query string paramater calendarDate. [This is done as the list has too many events].
The above works in sharepoint foumdation 2010. But when i use the same code in sharepoint server 2010 i am not able to see the events for the next and previous months. The events are seen only for the current months.Binding happens in the serverside code but i am not able to see the events in the UI.
Please help me with the same. Thanks in advance :)