2014-02-13 76 views
0

嘗試自動調整radscheduler中約會的高度。我試過這個鏈接Radscheduler根據主題自動增加或擴大約會高度

http://www.telerik.com/support/kb/aspnet-ajax/scheduler/details/auto-expand-the-height-of-the-appointment-to-accomodate-the-entire-subject-in-month-view 但無濟於事。我的預約時間並沒有增加,而且拉斯維申勒縮小了。這花了我很多時間。我希望如果有人可以幫助

<telerik:RadScheduler ID="radScheduler" runat="server" SelectedView="MonthView" 
       DataKeyField="AppointmentID" DataSubjectField="AppointmentInformation" DataStartField="BeginningDayDate" DataEndField="EndingDayDate" Height="1000px" 
       OnAppointmentUpdate="radScheduler_AppointmentUpdate" OnAppointmentDelete="radScheduler_AppointmentDelete" Font-Bold="true" ShowHeader="true" 
       OnClientAppointmentEditing="OnClientAptEditing" AllowEdit="true" AllowDelete="true" CustomAttributeNames="CompanyLocation,AppointmentInformation" 
       EnableCustomAttributeEditing="true" OnAppointmentClick="radScheduler_AppointmentClick" AllowInsert="false" RowHeight="50px" AppointmentStyleMode="Default" OnClientAppointmentMoving="ClientMovingApt" 
       DisplayDeleteConfirmation="false" OnNavigationComplete="radScheduler_NavigationComplete" OnAppointmentContextMenuItemClicked="radScheduler_AppointmentContextMenuItemClicked" OnClientAppointmentMoveEnd="OnClientAppointmentMoving" > 
    <MonthView HeaderDateFormat="MMMM yyyy" VisibleAppointmentsPerDay="30" AdaptiveRowHeight="true" > 

       </MonthView> 

<AppointmentTemplate> 
        <div> 
         <%# HttpContext.Current.Server.HtmlDecode(Eval("AppointmentInformation"))%>        
        </div> 
       </AppointmentTemplate> 
      </telerik:RadScheduler> 

如果您需要更多的信息,請ask.Thanks

After using the css in that link,the resultant radscheduler

回答

0

我相信你會有這個時候得到了答案。對於那些正在尋找答案的人,

設置radScheduler.RowHeight = 70您正在調用RadScheduler.ExportToPdf();