Displaying 30min extra in ViewDefintions

2 posts, 0 answers
  1. charan
    charan avatar
    7 posts
    Member since:
    Jul 2010

    Posted 12 Jul 2011 Link to this post

    Hi,
    I am trying do display starttime 9AM and endtime 4PM.But Start time is correctly displayed but end time is displayed as 4.30 PM

    Please see the below and suggest if there are any changes need to be done

      

    <telerik:RadScheduleView.ViewDefinitions>

     <telerik:DayViewDefinition VisibleDays="1" DayStartTime="09:00:00" DayEndTime="17:00:00" />

      <telerik:WeekViewDefinition VisibleDays="5" LargeChangeInterval="7d" DayStartTime="09:00:00" DayEndTime="17:00:00" />

    <telerik:MonthViewDefinition VisibleDays="42" SmallChangeInterval="7d" LargeChangeInterval="1m" />

      </telerik:RadScheduleView.ViewDefinitions>

      

  2. Ivo
    Admin
    Ivo avatar
    390 posts

    Posted 13 Jul 2011 Link to this post

    Hi Charan,

    Into the sample code you gave the DayEndTime is set to "17:00:00" (5 PM), not "16:00:00" (4 PM). With DayEndTime set to "17:00:00" the last major visible tick is 5:00 PM and the last rendered visible hour is 4:30 PM.  Please check the attached screenshot.

    All the best,
    Ivo
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top