Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am wondering if it is possible to create a custom data source, fill it through code, and bind it to the SPCalenderView.

I searched various places but didn't find any example code which explains binding custom data source to SPCalenderView.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

If you are looking for a code-based solution you can use the SPCalendarView control, which could bind to any type of data. Look here for a full-blown example http://mysharepointwork.blogspot.com/2010/09/custom-calendar-webpart-in-sharepoint.html

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.