Here is the code I use: SPQuery query = new SPQuery(); query.ExpandRecurrence = true; query.CalendarDate = new DateTime(2013, 1, 1); query.Query = @" <Where> <DateRangesOverlap> ...
I am currently using a workaround where I create recurring events for each of the separate days in the event, but I would like to just create one recurring event that spans over 7 days. As is, the ...
Check booking conflicts in sharepoint calendar programmatically to avoid overlap booking for recurring events
Is there a way to programmatically check a booking if already exist in sharepoint calendar? I am saving recurring entries programmatically using the xml rule for recurrence as per this, for ...
I'm facing a problem building a caml query for the calendar list. Here is my caml query SPQuery query = new SPQuery(); StringBuilder sb = new StringBuilder(); ...
I know how to use DateRangesOverlap in a DVWP to show recurring events for Year, Now, Month for a hardcoded month, Day for a hardcoded day, and Week for a hardcoded week. I am wondering if I can ...