MonthView horizontal stretch

4 posts, 1 answers
  1. Alexey
    Alexey avatar
    3 posts
    Member since:
    Mar 2012

    Posted 13 Jun 2012 Link to this post

    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.
  2. Dani
    Admin
    Dani avatar
    848 posts

    Posted 14 Jun 2012 Link to this post

    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 >>
  3. DevCraft banner
  4. Alexey
    Alexey avatar
    3 posts
    Member since:
    Mar 2012

    Posted 14 Jun 2012 Link to this post

    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"
  5. Answer
    Dani
    Admin
    Dani avatar
    848 posts

    Posted 15 Jun 2012 Link to this post

    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 >>
Back to Top