Is there a way of maintaining the full stretch of the time ruler when the day length is less than 24 hours? I have tried a number of combinations of MinTimeRulerExtent and MaxTimeRulerExtent but so far no success...
Tia,
Jonathan
3 Answers, 1 is accepted
0
Valeri Hristov
Telerik team
answered on 25 Oct 2011, 11:36 AM
The timeruler will automatically stretch if MinTimeRulerExtent is less or equal to the available space and MaxTimeRulerExtent is larger. For example, if you set MinTimeRulerExtent=200 and MaxTimeRulerExtent=2000 the timeruler will automatically stretch to fill the available space if it is between 200 and 2000 pixels. When the available space becomes less than 200 pixels a scrollbar will appear. If the available space becomes more than 2000 pixels the timeruler will no longer stretch.
All the best,
Valeri Hristov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Perhaps I am not referring to the correct part of the control... in the Timeline view, above the ticks and below the bar containing the datetime picker and the view selection buttons, there is a gray bar containing the date which stretches across the visible calendar. If my Timeline view is 1 day but I set the visible hours to be - for example - 06:00 to 20:00, that gray bar resizes itself and no longer stretches across the visible calendar. It isn't the same as the scroll bar at the bottom of the control. Here's some simple xaml to display the behaviour:
Jonathan
<telerik:RadScheduleViewName="radScheduleView1"
AppointmentsSource="{Binding Appointments}"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch">
<telerik:RadScheduleView.ViewDefinitions>
<telerik:TimelineViewDefinitionVisibleDays="1"
DayStartTime="06:00:00"
DayEndTime="20:00:00"/>
</telerik:RadScheduleView.ViewDefinitions>
</telerik:RadScheduleView>
0
Rosi
Telerik team
answered on 25 Oct 2011, 01:58 PM
Hi Jonathan,
This is a bug in RadScheduleView control and the fix for this bug will be included in our next internal build
Regards,
Rosi
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>