When i set visibileDays=1 to the day view definition i get the following result (see attached image)
Why it is not stretched (like in Scheduler control)
Why it is not stretched (like in Scheduler control)
5 Answers, 1 is accepted
0
Hi Roei,
Probably you set StretchGroupHeaders=false? Having a custom Style for GroupHeader with specified Width could also be the cause for the problem...
Regards,
Valeri Hristov
the Telerik team
Probably you set StretchGroupHeaders=false? Having a custom Style for GroupHeader with specified Width could also be the cause for the problem...
Regards,
Valeri Hristov
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!
0
Roei
Top achievements
Rank 1
answered on 27 Jul 2011, 03:16 PM
No, it was a scrollViewer that is surrounding my schedule view:
Removing the HorizontalScrollBarVisibility="Auto" fixed the problem Why is that?
<ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" Margin="0">
Removing the HorizontalScrollBarVisibility="Auto" fixed the problem Why is that?
0
Hello Roei,
I would strongly recommend avoiding to put ScrollViewer around RadScheduleView, unless RadScheduleView has Width and Height. As with every virtualized control, you are losing the ScheduleView virtualization if you put it inside a ScrollViewer.
Greetings,
Valeri Hristov
the Telerik team
I would strongly recommend avoiding to put ScrollViewer around RadScheduleView, unless RadScheduleView has Width and Height. As with every virtualized control, you are losing the ScheduleView virtualization if you put it inside a ScrollViewer.
Greetings,
Valeri Hristov
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!
0
Roei
Top achievements
Rank 1
answered on 27 Jul 2011, 03:34 PM
Hi Valery Thanks for the rapid response!!!
so what should i set if i want the schedule view control to fit its container (i don't want to set fixed width or height) and to
show scroll bars only when necessary?
Thanks
Roei
so what should i set if i want the schedule view control to fit its container (i don't want to set fixed width or height) and to
show scroll bars only when necessary?
Thanks
Roei
0
By default RadScheduleView automatically fits the container, you don't have to set properties to do this. Probably the control is inside a StackPanel or has Horizontal/VerticalAlignment which affect the stretching?
Regards,
Valeri Hristov
the Telerik team
Regards,
Valeri Hristov
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!