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

Month View Appointment Height

2 Answers 91 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Brian Mains
Top achievements
Rank 1
Brian Mains asked on 17 Jun 2010, 06:45 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Peter
Telerik team
answered on 18 Jun 2010, 08:53 AM
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
0
Brian Mains
Top achievements
Rank 1
answered on 18 Jun 2010, 01:19 PM
Awesome, thanks.
Tags
Scheduler
Asked by
Brian Mains
Top achievements
Rank 1
Answers by
Peter
Telerik team
Brian Mains
Top achievements
Rank 1
Share this question
or