start time and end time - 24 hour day

4 posts, 0 answers
  1. mww
    mww avatar
    257 posts
    Member since:
    Sep 2012

    Posted 24 May 2011 Link to this post

    I need my scheduler to have a full 24 hour day as im using it for booking details (a band could be preforming at 1am)

    eg  start time - 24:00
    end time 23:59

    so ive used these settings

    DayStartTime="24:00:00" DayEndTime="23:59:00"   

    when i run it, I get this error

    Microsoft JScript runtime error: Unable to get value of the property 'cells': object is null or undefined
     on this line

    l.cellWidth=l.targetRect.width/l.rows[0].cells.length;

    so there seems to be a problem when creating the cells in the scheduler.  How can I set it up to use a 24 hour day ?


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

    Posted 24 May 2011 Link to this post

    FWIW, I set neither DayStartTime or DayEndTime and my Scheduler shows a full 24 hours.

    -- 
    Stuart
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. mww
    mww avatar
    257 posts
    Member since:
    Sep 2012

    Posted 24 May 2011 Link to this post

    I set the values to these

    DayStartTime="00:00:00" DayEndTime="23:59:00"    

    that did the trick.  If I dont set them, they default to 8am and 5pm respectively
  5. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 24 May 2011 Link to this post

    You are, of course, right. You want to set the ShowFullTime property on scheduler.

    -- 
    Stuart
Back to Top