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

MonthView horizontal stretch

3 Answers 68 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Alexey
Top achievements
Rank 1
Alexey asked on 13 Jun 2012, 05:28 PM
Please, see attachment. 
I want to automaticaly stretch day slots in MonthView to horizontal available space.
I'm looking for a solution for more than an hour and tried to do this with my styles, but failed.
I think this must be done in very easy way.

ps sorry for my english.

3 Answers, 1 is accepted

Sort by
0
Dani
Telerik team
answered on 14 Jun 2012, 07:51 AM
Hello Alexey,

The RadScheduleView control and the MonthView in particular will stretch to fill  the available space by default. Have you applied any customizations? Please, share xaml if possible.

All the best,
Dani
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Alexey
Top achievements
Rank 1
answered on 14 Jun 2012, 02:38 PM
I reproduced this in clear solution for VS 2010:
https://www.dropbox.com/s/lwo1d5jn21a64bw/ScheduleView.zip 
And attach another screenshot.
it seems that ScheduleView inside <navigation:Frame />

p.s. Version: "2012.1.215.1050"
0
Accepted
Dani
Telerik team
answered on 15 Jun 2012, 01:13 PM
Hello Alexey,

The RadScheduleView control is placed inside a ScrollViewer and the HorizontalScrollBarVisibility and VerticalScrollBarVisibility properties of the ScrollViewer are explicitly set to Auto. This forces the RadScheduleView control to measure with infinity which is not supported because of the data virtualization.

I suggest you remove the HorizontalScrollBarVisibility and VerticalScrollBarVisibility properties and leave the ScrollViewer by default.

Hope this helps.

Kind regards,
Dani
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
ScheduleView
Asked by
Alexey
Top achievements
Rank 1
Answers by
Dani
Telerik team
Alexey
Top achievements
Rank 1
Share this question
or