0

尝试在 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-查看 但无济于事。我的约会时间没有增加,而且 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>

如果您需要更多信息,请询问。谢谢

在该链接中使用 css 后,生成的 radscheduler

4

1 回答 1

0

我相信你到这个时候就会得到答案。对于那些正在寻找答案的人,

在调用 RadScheduler.ExportToPdf() 的地方设置 radScheduler.RowHeight=70;

于 2014-05-28T13:54:28.257 回答