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

All Day Appointment

5 Answers 55 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Stuart Hemming
Top achievements
Rank 2
Stuart Hemming asked on 04 Jan 2011, 06:16 PM
In this forum thread we're told that an appointment is 'All day' if the appointment starts at 12AM one day and ends at 12AM the next.

If I go to the Scheduler First Look demo and add an appointment in the all day section, the appointment is created with its start and end at 12AM on the SAME day. But if I edit one of the existing all day appointments, it is set up to start and end at 12AM on consecutive days.

What's right?

-- 
Stuart

5 Answers, 1 is accepted

Sort by
0
Stuart Hemming
Top achievements
Rank 2
answered on 07 Jan 2011, 02:24 PM
Anyone?

-- 
Stuart
0
Nikolay Tsenkov
Telerik team
answered on 07 Jan 2011, 05:22 PM
Hello Stuart,

Your observation is correct and we will will log this as a bug in the advanced form.
Once the bug is fixed we will let you know.

Thank you for reporting this to our team!
Your telerik points are updated.


Regards,
Nikolay Tsenkov
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Stuart Hemming
Top achievements
Rank 2
answered on 28 Jan 2011, 03:11 PM
Nikolay

Can you tell me what is the correct way for this to operate?

Is it supposed to be from 00:00 on one day to 00:00 on the next?

-- 
Stuart
0
Accepted
Nikolay Tsenkov
Telerik team
answered on 31 Jan 2011, 02:56 PM
Hi Stuart Hemming,

"Is it supposed to be from 00:00 on one day to 00:00 on the next?"
 - On lower level the allDay appointment is persisted holding only the dates (no specific time). And having a choice we try to present the time in the most expected way, which currently seems to be day(x) to day(x + (n - 1)) where n is the duration in days, when the allDay checkbox is checked and 12 am day(x) to 12 am day(x + n) when it's not checked.
E.g. appointment having 1 day duration starting 12/24/2010 will be presented:
 - 12/24/2010 - 12/24/2010 when AllDay is checked;
 -  12am 12/24/2010 - 12am 12/25/2010 otherwise.

We decided this is the best approach since by the checkbox, the user already has the information that this appointment has a multiple of 1-day duration, so he shouldn't be guessing if, either, the start or the end date is included in this period (they are included).

The bug that I thought you reported was that after you uncheck the checkbox the selected time period becomes false - instead selecting the timeFrame between 12 am day(x) to 12 am day(x + n) the format is 12 am day(x) to 12 am day(x + (n - 1)).

I hope this makes it clear.


Regards,
Nikolay Tsenkov
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Stuart Hemming
Top achievements
Rank 2
answered on 31 Jan 2011, 03:28 PM
I hope this makes it clear.
Thanks you. Yes.

-- 
Stuart
Tags
Scheduler
Asked by
Stuart Hemming
Top achievements
Rank 2
Answers by
Stuart Hemming
Top achievements
Rank 2
Nikolay Tsenkov
Telerik team
Share this question
or