I'm having an issue with recurring appointments which include Mondays (i.e: Monday, Tues, Wed...or...Mon, Wed....etc).
Let's say the recurring appointment is set to Tuesday or thursday (or any combination of days not including Monday), from 11am - 12pm, it shows up fine on the calendar.
Now let's say the recurring appointment is Monday, Wednesday and Friday, from 9am-10am...from 8/1/2013 thru 12/31/2013. The appointment shows up in the 9-10am time slot on Mondays, Wednesday's and Fridays...the issue is that it also shows the appointment as an all day appointment, for every day from 8/1/2013 thru 12/31/2013 (the date range of the appointment). It only does this when Monday is included as one of the days of the recurring appointment.
Any idea why this could be happening?
I'm using a RecurrenceDay object to determine how to display it in the calendar. Here is the relevant code:
days is an integer that I'm using to determine what days the appointment should display on, using the values specified here:
http://www.telerik.com/help/aspnet-ajax/t_telerik_web_ui_recurrenceday.html
Thanks
Let's say the recurring appointment is set to Tuesday or thursday (or any combination of days not including Monday), from 11am - 12pm, it shows up fine on the calendar.
Now let's say the recurring appointment is Monday, Wednesday and Friday, from 9am-10am...from 8/1/2013 thru 12/31/2013. The appointment shows up in the 9-10am time slot on Mondays, Wednesday's and Fridays...the issue is that it also shows the appointment as an all day appointment, for every day from 8/1/2013 thru 12/31/2013 (the date range of the appointment). It only does this when Monday is included as one of the days of the recurring appointment.
Any idea why this could be happening?
I'm using a RecurrenceDay object to determine how to display it in the calendar. Here is the relevant code:
if (e.eventDays.Contains("M"))
days += 2;
if (e.eventDays.Contains("T"))
days += 4;
if (e.eventDays.Contains("W"))
days += 8;
if (e.eventDays.Contains("R"))
days += 16;
if (e.eventDays.Contains("F"))
days += 32;
var dayMask = (RecurrenceDay)days; //Used to display recurrence schedule on the telerik scheduler
days is an integer that I'm using to determine what days the appointment should display on, using the values specified here:
http://www.telerik.com/help/aspnet-ajax/t_telerik_web_ui_recurrenceday.html
Thanks