尝试在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>
如果您需要更多信息,请询问。谢谢
答案 0 :(得分:0)
我相信你此时会得到答案。对于那些正在寻找答案的人,
设置radScheduler.RowHeight = 70,你在那里调用RadScheduler.ExportToPdf();