【问题标题】:Radscheduler auto increase or expand appointment height based on the subjectRadscheduler 根据主题自动增加或扩展约会高度
【发布时间】:2014-03-13 01:20:24
【问题描述】:

尝试在 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>

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

【问题讨论】:

    标签: css height appointment radscheduler


    【解决方案1】:

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

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-03-29
      • 1970-01-01
      • 1970-01-01
      • 2018-11-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多