Month View Appointment Height

3 posts, 1 answers
  1. Brian Mains
    Brian Mains avatar
    485 posts
    Member since:
    Oct 2008

    Posted 17 Jun 2010 Link to this post

    Hello,

    I need, in the month view, the appointment height to be a lot bigger than it is; currently, the appointment height is 21 px but I need it to be more like 60 px because I can barely see the appointment information.  What do I need to set to enlarge the appointment height?

    Thanks.
  2. Answer
    Peter
    Admin
    Peter avatar
    6637 posts

    Posted 18 Jun 2010 Link to this post

    Hello Brian,

    You can increase the value for the RowHeight property only for Month view like this:
    protected void Page_Load(object sender, EventArgs e)
    {
        if (RadScheduler1.SelectedView == SchedulerViewType.MonthView) {
            RadScheduler1.RowHeight = Unit.Pixel(60);
        }
        else {
            RadScheduler1.RowHeight = Unit.Pixel(25);
        }
    }
    protected void RadScheduler1_NavigationComplete(object sender, SchedulerNavigationCompleteEventArgs e)
    {
        if (e.Command == SchedulerNavigationCommand.SwitchToMonthView) {
            RadScheduler1.RowHeight = Unit.Pixel(60);
        }
        else {
            RadScheduler1.RowHeight = Unit.Pixel(25);
        }
    }

    Alternatively, you can use this kb article:
     Auto expand the height of the appointment to accomodate the entire subject in Month view


    Regards,
    Peter
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Brian Mains
    Brian Mains avatar
    485 posts
    Member since:
    Oct 2008

    Posted 18 Jun 2010 Link to this post

    Awesome, thanks.
Back to Top