This is a migrated thread and some comments may be shown as answers.

TimelineViewDefinition

1 Answer 129 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Christie Admin
Top achievements
Rank 1
Christie Admin asked on 13 Aug 2013, 08:55 PM
Hi,

I'm using Telerik V2012.2.912.35 and I would like to know why the TimelineViewDefinition doesn't respect the DayEndTime parameter...
When I'm in timeline view, every day time start at my parameter value but it don't stop at my end time parameter.

Thank's
Alain

Here is my piece of code:

                   <scheduleView:RadScheduleView AppointmentEdited="ScheduleView_AppointmentEdited" Grid.Column="1" x:Name="ScheduleView" FirstDayOfWeek="Sunday" ActiveViewDefinitionIndex="1" AppointmentsSource="{Binding}" AppointmentItemContentTemplate="{StaticResource AppointmentTemplate}" ToolTipTemplate="{StaticResource AppointmentToolTipTemplate}" Margin="0 2 2 2">
                        <scheduleView:RadScheduleView.ViewDefinitions>
                            <scheduleView:DayViewDefinition DayStartTime="9:00" DayEndTime="18:00" MajorTickLength="1h" MinorTickLength="15min" TimerulerMajorTickStringFormat="{}{0:H tt}:{0:mm} " TimerulerMinorTickStringFormat=":{0:mm} " GroupHeaderDateStringFormat="{}{0:dddd d MMMM yyyy}" />
                            <scheduleView:WeekViewDefinition DayStartTime="9:00" DayEndTime="18:00" MajorTickLength="1h" FirstDayOfWeek="Monday" VisibleDays="5" MinorTickLength="15min" TimerulerMajorTickStringFormat="{}{0:H tt}:{0:mm} " TimerulerMinorTickStringFormat=":{0:mm} " GroupHeaderDateStringFormat="{}{0:dddd d MMMM yyyy}" />
                            <scheduleView:MonthViewDefinition DayStartTime="9:00" DayEndTime="18:00" TimerulerMajorTickStringFormat="{}{0:d MMMM} " GroupHeaderDateStringFormat="{}{0:dddd d MMMM yyyy}" />
                            <scheduleView:TimelineViewDefinition DayStartTime="9:00" DayEndTime="18:00" TimerulerGroupStringFormat="{}{0:dddd d MMMM yyyy}" TimerulerMajorTickStringFormat="{}{0:%H}h" TimerulerMinorTickStringFormat=":{0:%m}" MajorTickLength="1h" MinorTickLength="15min" MinTimeRulerExtent="30400" MaxTimeRulerExtent="30400" StretchAppointments="True" StretchGroupHeaders="True" />
                        </scheduleView:RadScheduleView.ViewDefinitions>
                    </scheduleView:RadScheduleView>

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 14 Aug 2013, 12:37 PM
Hello Alain,

Unfortunately the desired behavior is currently not supported by the ScheduleView as the TimelineViewDefinition is designed to display the whole days. When you set the DayStartTime and DayEndTime properties they applied on the whole VisibleDays range (DayStartTime is applied to first day and DayEndTime is applied to the last day from the range).

However we have already logged that as feature request in our public issue tracking system, so you can vote and track its status on the link below:
http://www.telerik.com/support/pits.aspx#/details/Issue=14578

Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
ScheduleView
Asked by
Christie Admin
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or