尝试在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
但无济于事。我的约会时间没有增加,而且radscheduler缩小了。这花了我很多时间。我希望有人能帮忙
<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>
如果您需要更多信息,请询问。
最佳答案
我确定您这次会得到答案。对于那些正在寻找答案的人,
设置radScheduler.RowHeight = 70,在其中调用RadScheduler.ExportToPdf();。
关于css - Radscheduler根据主题自动增加或扩展约会高度,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/21766513/