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

No scroll in Month View

3 Answers 72 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Pooja
Top achievements
Rank 1
Pooja asked on 17 Feb 2012, 11:44 AM
Hi,

This is my requirement, In month view no scroll bar should come and it should occupy full height. Say if the screen resolution changes, month view should resize itself to occupy full height also it should display more or less number of appointments based on the height it gets.

Please let me know if this is feasible. 

Regards,
Pooja

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 17 Feb 2012, 01:56 PM
Hello Pooja,

Please, try setting OverFlowBehavior="Expand" for RadScheduler and let me know if this helps you achieve the desired goal.

Kind regards,
Peter
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Pooja
Top achievements
Rank 1
answered on 19 Feb 2012, 03:33 AM
Setting this property is not helping me, I want this behavior only for Month View, all other views scroll bars are fine. But this property changes overflow behavior of all other views as well. Please let me know if there is any other way to achieve this
0
Plamen
Telerik team
answered on 21 Feb 2012, 04:55 PM
Hi Pooja,

 
You can set the property only when the navigation command switches to MonthView or in the Page_Load event as shown in the code:

protected void Page_Load(object sender, EventArgs e)
   {
       if (RadScheduler1.SelectedView==SchedulerViewType.MonthView)
       {
           RadScheduler1.OverflowBehavior = OverflowBehavior.Expand;
       }
   }

protected
void RadScheduler1_NavigationCommand(object sender, SchedulerNavigationCommandEventArgs e)
  {
      if ( e.Command==SchedulerNavigationCommand.SwitchToMonthView)
      {
          if (RadScheduler1.OverflowBehavior == OverflowBehavior.Scroll)
          {
              RadScheduler1.OverflowBehavior = OverflowBehavior.Expand;
          }
      }
      else
      {
          RadScheduler1.OverflowBehavior = OverflowBehavior.Scroll;
      }
  }

Hope this will be helpful.

Greetings,
Plamen Zdravkov
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Scheduler
Asked by
Pooja
Top achievements
Rank 1
Answers by
Peter
Telerik team
Pooja
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or