Im stuck on adding the exceptions even though the RecurrenceRule i made has the EXDate. So how exactly do i make exception rules? Thanks
1 Answer, 1 is accepted
0
Peter
Telerik team
answered on 25 Feb 2009, 12:59 PM
Hello Albert,
The RecurrenceRule class exposes an Exceptions collection to which you can add DateTime objects to create exceptions for specific date and time. For example, suppose you need to create a recurring appointment starting on February 8, 2009 at 9:00am which is one hour long, occurs daily for five days. Now, suppose that you don't want the appointment to occur on February 10. You can achieve this by handling the AppointmentInsert event as follows: