how to avoid a recurrence rule for a particular date for example the recurrence rule is from Jan 1st to Jan 30 but i don't want the recurrence to be visible on some days like 15th Jan and 20 Jan
1 Answer, 1 is accepted
0
Peter
Telerik team
answered on 12 Jan 2010, 02:27 PM
Hi Nagesh,
You can store the exception dates in a custom attribute. Then you can handle AppointmentInsert to parst the custom attribute value and to overwrite the recurrence rule:
For example, for dates 15th Jan and 20 Jan, you should type in the ExceptionDates textbox the following:
"2010/01/15;2010/01/20"
If you need to create exception dates for already existing recurring appointments, simply move the above logic from AppointmentInsert to AppointmentDataBound.