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

Height of Scheduler

3 Answers 119 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 01 Dec 2008, 03:20 PM
Hello,

The scheduler control isn't tall enough to show the entire day's schedule.  I was wondering if the general practice is to set a manual height, or if there's another setting I can use to set a relative height to show the work day's schedule in the same view without scrolling...  Figured it was setting the height of the control, but wasn't sure if there was another way.

Thanks.

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 01 Dec 2008, 04:27 PM
Hi Brian,

Have you tried setting OverflowBehavior="Expand"? It looks like this is what you need, but please feel free to let me know if you need something else.

Best wishes,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Brian Mains
Top achievements
Rank 1
answered on 01 Dec 2008, 05:04 PM
Hello,

That is generally good, except when in 24 hour mode I would want it to scroll, so I'm going to apply a height.  However, I noticed something interesting...  when in expand mode, when showing the business view, nothing shows.  It's all a white screen and I don't see the appointments at all.  I do in 24 hour mode, but not in normal work day mode.

Thanks.
0
Peter
Telerik team
answered on 02 Dec 2008, 01:02 PM
Hello Brian,

You can use the NavigationCommand event and set the OverflowBehavior dynamically. For example:

protected void RadScheduler1_NavigationCommand(object sender, Telerik.Web.UI.SchedulerNavigationCommandEventArgs e)  
    {  
        if (e.Command == Telerik.Web.UI.SchedulerNavigationCommand.SwitchFullTime)  
        {  
            if (RadScheduler1.ShowFullTime)  
            {  
                RadScheduler1.OverflowBehavior = OverflowBehavior.Expand;                 
            }  
            else 
            {  
                RadScheduler1.OverflowBehavior = OverflowBehavior.Scroll;  
                RadScheduler1.Height = Unit.Pixel(500);  
            }                  
        }        
    } 


As for the other problem, we are not sure how to replicate it locally. Can you provide us with the specific steps needed to observe this issue?

All the best,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
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