When is an All Day Event, not an All Day Event?

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

    Posted 20 May 2011 Link to this post

    When it's on my scheduler page, apparently.

    SS1.gif shows an appointment on my scheduler, it appears to start at midnight and be of short duration. It clearlt isn't in the All Day area of the control.

    SS2.gif shows the codebehind paused at a breakpoint in the AppointmentDataBound event. You can clearly see that the appointment is setup correctly accoring to this forum thread.

    So what am I doing wrong?

    --
    Stuart
  2. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 20 May 2011 Link to this post

    Here are the images.

    --
    Stuart
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 20 May 2011 Link to this post

    There is definately something not right. The attached show the same event in Week and Month views. The sizing is wrong...

    FWIW, it is doing it in both SP1 and SP2.
    --
    Stuart
  5. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 26 May 2011 Link to this post

    Hello Stuart,

    Can you check in AppointmentDataBound if the duration of this event is not 0 hours? An all day event starts at 00:00 and ends on 00:00 the next day. What might be misleading here is that in the advanced form the start and end date appear the same if the all-day checkbox is check. Nevertheless, the end date is the next day. 

    In SS2.gif it shows that the start and end time are the same. I am not sure how this could have happened, but you could look in your data source.


    Kind regards,
    Peter
    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 26 May 2011 Link to this post

    Sorry, that was my point. This happens if the event is zero length. It displays OK in Day and Week view, just not in MonthView.

    -- 
    Stuart
  7. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 27 May 2011 Link to this post

     
    I am not sure how to replicate this problem. Can you send us a simple working demo?

    All the best,
    Peter
    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.

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017