This is a migrated thread and some comments may be shown as answers.

RadScheduler - Issue with Monday recurring appointments

1 Answer 8 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Marko
Top achievements
Rank 1
Marko asked on 02 Oct 2013, 04:05 PM
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:

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

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 07 Oct 2013, 12:03 PM
Hello,

I would like to clarify that we have already replied to your question in support thread 743924. In order to avoid any misunderstandings please keep in the communication in the support thread.  

Regards,
Boyan Dimitrov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Scheduler
Asked by
Marko
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or