DayStartTime and DayEndTime with TimelineViewDefintion

5 posts, 0 answers
  1. Julien
    Julien avatar
    4 posts
    Member since:
    Nov 2012

    Posted 14 May 2013 Link to this post

    Hello everyone,

    I recently started using the RadScheduleView component. I started with the example provided by Telerik "TimeBar Minimap for ScheduleView". The RadScheduleView be used to display the interventions of our technicans. Our technicians have office hours (usually) between 7am to 20pm. 
    Our desire is to not display these hours to provide a better display of working hours. For this, we informed the DayStartTime and DayEndTime properties in TimelineViewDefintion.

        TimerulerGroupStringFormat="{}{0:dddd, dd/MM/yyyy}"
        VisibleDays="{Binding ElementName=TimeBar, Path=Selection, Converter={StaticResource VisibleDaysConverter}}"
        FirstDayOfWeek="Monday" />

    This works well if we show one day as in the example (OneDay.png). O
    n the timeline each MinorTick is 15 minutes.

    By cons, if we show two consecutive days, the first day starts at 7am, the second day ends at 20pm but between the two days, all hours (even those outside of the desired range) are displayed. See TwoDays.png.

    I marked in red on the image TwoDays.png parts that we do not want to see.

    How do that the DayStartTime and DayEndTime properties will be used for every day when displaying several days?

    Thank you for your help and sorry if my English is not great.
  2. Julien
    Julien avatar
    4 posts
    Member since:
    Nov 2012

    Posted 15 May 2013 Link to this post

    I just saw on this topic that this feature is not yet supported by the component. I hope it will be suported soon.
  3. DevCraft banner
  4. Yana
    Yana avatar
    4547 posts

    Posted 16 May 2013 Link to this post

    Hi Julien,

    Indeed, the needed approach is not supported in TimelineViewDefinition.

    Thank you for sending your feedback.

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  5. Sofien
    Sofien avatar
    2 posts
    Member since:
    May 2013

    Posted 26 Jun 2014 in reply to Yana Link to this post

    Hi Yana, 
    I have the same problem of Julien ...
    Do-you fix this bug in the new versions? 
    thank you

    Sofien MAHJOUB
    Senior Developer
  6. Kalin
    Kalin avatar
    1190 posts

    Posted 26 Jun 2014 Link to this post

    Hi Sofien,

    This described behavior of the TimelineViewDefition is intended by design. However I have already answered you in this forum thread - could please check my answer there.

    Hope this helps.

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
Back to Top
DevCraft banner