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

[Solved] RADScheduler MonthView Height

3 Answers 294 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
GD
Top achievements
Rank 1
GD asked on 27 Jan 2010, 12:42 PM
Hi,

I am using RADScheduler, and I want to fix the height of the scheduler for MonthView. I want a fix Height, no matters how many appointments/contents (if there's no content to fill it) are.

Is it possible?

Thanks & Regards,

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 27 Jan 2010, 01:24 PM
Hello,

You can set MonthView-AdaptiveRowHeight="false" for RadScheduler to keep same height for all the rows in monthview.

aspx:
 
<telerik:RadScheduler Skin="Outlook" ID="RadScheduler1" runat="server" DataEndField="End" DataKeyField="ID" 
                DataRecurrenceField="RecurrenceRule" DataRecurrenceParentKeyField="RecurrenceParentID" 
                DataSourceID="SqlDataSource2" DataStartField="Start" DataSubjectField="Subject"
                <MonthView AdaptiveRowHeight="false"/> 

-Shinu.
0
GD
Top achievements
Rank 1
answered on 28 Jan 2010, 06:45 AM
Hi Shinu,
I am using as following:

 

<telerik:RadScheduler ID="rsMV" runat="server" 
                                    HoursPanelTimeFormat="htt"   
                                    ShowNavigationPane="False"   
                                    ShowViewTabs="False"   
                                    ValidationGroup="RadScheduler1"   
                                    SelectedView="MonthView"   
                                    ShowHeader="False"   
                                    EnableEmbeddedSkins="False"   
                                    FirstDayOfWeek="Monday"   
                                    LastDayOfWeek="Sunday"   
                                    MonthColumnHeaderDateFormat="dddd"   
                                    ShowFooter="False"   
                                    WeekColumnHeaderDateFormat="dddd"   
                                    ShowAllDayRow="False"   
                                    OverflowBehavior="Expand" 
                                    MonthView-AdaptiveRowHeight="false"   
                                    BorderColor="#999999" 
                                    DayStartTime="00:00:00"   
                                    DayEndTime="23:59:59"   
                                    TimeZoneOffset="00:00:00" 
                                    AllowDelete="false" 
                                    AllowEdit="false" 
                                    AllowInsert="false" 
                                    DataKeyField="EventId" 
                                    DataStartField="OSD" 
                                    DataEndField="OED" 
                                    DataRecurrenceField="OPS" 
                                    DataSubjectField="Name" 
                                    DataRecurrenceParentKeyField ="RecurrencePatternParentId" 
                                    MinutesPerRow = "60"   
                                    OnClientAppointmentClick="OnAppointmentClick" 
                                    OnClientAppointmentDoubleClick="OnAppointmentDoubleClick" EnableViewState="False">  
                    <Localization AdvancedAllDayEvent="All day" /> 
                    <AdvancedForm DateFormat="M/d/yyyy" TimeFormat="h:mm tt" /> 
                    <MonthView ColumnHeaderDateFormat="dddd" FirstDayHeaderDateFormat="dd" AdaptiveRowHeight="False" VisibleAppointmentsPerDay="30" /> 
                    <WeekView ColumnHeaderDateFormat="dddd d" ShowHoursColumn="False" /> 
     </telerik:RadScheduler> 
But height changes dynamically when I navigate from month-to-month, because of the contents in each day changes. Ho can I fix the height? How can I render all 24 hours instead of working hours only?
Regards,

 

 

0
Peter
Telerik team
answered on 28 Jan 2010, 04:54 PM
Hi SK,

If you need a fixed height for RadScheduler in MonthView, then you should reduce the number of visible appoitnments per day - VisibleAppointmentsPerDay="2"

To show all 24 hours, simply set ShowFullTime="true"

Best wishes,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Scheduler
Asked by
GD
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
GD
Top achievements
Rank 1
Peter
Telerik team
Share this question
or