All Day Appointment

6 posts, 1 answers
  1. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 04 Jan 2011 Link to this post

    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
  2. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 07 Jan 2011 Link to this post

    Anyone?

    -- 
    Stuart
  3. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 07 Jan 2011 Link to this post

    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.
  4. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 28 Jan 2011 Link to this post

    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
  5. Answer
    Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 31 Jan 2011 Link to this post

    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.
  6. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 31 Jan 2011 Link to this post

    I hope this makes it clear.
    Thanks you. Yes.

    -- 
    Stuart
Back to Top