Skip to main content
6 events
when toggle format what by license comment
Mar 9, 2015 at 19:02 comment added erickalves05 This gave me a null reference. I'm using the 'EventType' property. Some say that's an enum, or just a number like this article hungryminds10.blogspot.com.br/2011/12/…. But I'm using a string comparison with "Event_Recurring". So far so good.
Mar 9, 2015 at 18:55 comment added Juan Pablo Pussacq Laborde Yo can try: if (Convert.ToBoolean(item["Recurrence"]))
Mar 9, 2015 at 17:32 comment added erickalves05 Yes. I'm trying it right now. I wrote this logic in the ItemAdded event: 1- get only the item added (and all recurrencies). 2- get all items from calendar (and all recurrencies) except the item added. 3- comparare the dates and time for each one. The only thing is I'm not able to determine if a item is recurrent or not. I will keep trying and post the anwser as soon as I can.
Mar 9, 2015 at 14:44 comment added Juan Pablo Pussacq Laborde Can you use ItemAdded instead of ItemAdding?
Mar 9, 2015 at 14:34 comment added erickalves05 The problem is I'm adding the item to the calendar. It doesn't exists yet, so I can't query it. But thank you!
Mar 9, 2015 at 14:16 history answered Juan Pablo Pussacq Laborde CC BY-SA 3.0