This is a migrated thread and some comments may be shown as answers.

Export to PDF

1 Answer 61 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Pramodh
Top achievements
Rank 1
Pramodh asked on 25 Oct 2013, 08:24 PM
I'm having issues with pdf export.
 
I have attached the files to descirbe how it shows before and after.

My code is as follows.. Please let me know thoughts.

Also i have latest version of telerik 2013.1.403.35 

 

<style type="text/css"> 

.RadScheduler .rsDayView .rsAptContent

 {

 position: relative !important;

 height: 70px;

 min-height:60px;

 }

 .RadScheduler .rsMonthView .rsWrap,

 .RadScheduler .rsMonthView .rsApt,

 .RadScheduler .rsMonthView .rsAptOut,

 .RadScheduler .rsMonthView .rsAptIn,

 .RadScheduler .rsMonthView .rsAptMid,

 .RadScheduler .rsMonthView .rsAptContent

 {

 

position: static !important;

 height: auto !important;

 }

 

.RadScheduler .rsMonthView .rsWrap

 {

 overflow: hidden;

 font-size: 0;

 line-height: 0;

 }

 

.RadScheduler .rsMonthView .rsLastWrap

 {

 height: 16px !important;

 }

 

.RadScheduler .rsMonthView .rsAptContent

 {

 position: relative !important;

 border-top: 0;

 border-bottom: 0;

 left: 0;

 top: 0;

 }

 

* html .RadScheduler .rsMonthView .rsAptIn

 {

 border-width: 0 1px;

 top: 0;

 margin-left: -1px;

 margin-right: -1px;

 }

 

* html .RadScheduler .rsMonthView .rsAptMid

 {

 top: 0;
left: 1px;

 margin: 0 1px;

 border-width: 1px 0;

 }

 </style>

 



<telerik:RadScheduler runat="server" ID="RadScheduler1" CustomAttributeNames="Completed" DayStartTime="08:00:00" DayEndTime="18:00:00" Height="700px" TimeZoneOffset="08:00:00" FirstDayOfWeek="Monday" LastDayOfWeek="Sunday" Reminders-Enabled="true" Width="780px" RowHeight="30px" AppointmentStyleMode="Default" SelectedView="MonthView" Skin="Office2007" 

DayView-UserSelectable="false" TimelineView-UserSelectable="false" WeekView-UserSelectable="false" EnableCustomAttributeEditing="true" ReadOnly="true" TimeSlotContextMenuItemClicked="RadScheduler1_TimeSlotContextMenuItemClicked"

 OnAppointmentDataBound="RadScheduler1_AppointmentDataBound" OnNavigationCommand="RadScheduler1_NavigationCommand"

 OnAppointmentClick="RadScheduler1_AppointmentClick"

 MonthView-AdaptiveRowHeight="false" MonthView-VisibleAppointmentsPerDay="2"

 DataKeyField="ID" DataSubjectField="Subject" DataStartField="Start" DataEndField="End" DataDescriptionField="Description">

 <TimeSlotContextMenus>

 <telerik:RadSchedulerContextMenu ID="cm" runat="server">

 <Items>

 <telerik:RadMenuItem Text="Add Inspection" Value="Add" />

 </Items>

 </telerik:RadSchedulerContextMenu>

 </TimeSlotContextMenus>

 

 <AdvancedForm Enabled="false" Modal="true"></AdvancedForm>

 <AppointmentTemplate>

 <%#Eval("Subject") %>

 </AppointmentTemplate>

 <TimeSlotContextMenuSettings EnableDefault="true"></TimeSlotContextMenuSettings>

 <AppointmentContextMenuSettings EnableDefault="true"></AppointmentContextMenuSettings>

 <ExportSettings OpenInNewWindow="true" FileName="SchedulerExport">

 <Pdf PageTitle="Inspection Calendar" Author="ORU" Creator="" Title="Schedule">

 </Pdf>

 </ExportSettings>

 </telerik:RadScheduler>

 

 

Protected Sub RadButton1_Click(ByVal sender As Object, ByVal e As EventArgs)

 RadScheduler1.ExportToPdf()

End Sub

 





1 Answer, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 30 Oct 2013, 02:08 PM
Hello Pramodh,

Can you please clarify which is the version that you are upgrading from? Meanwhile I can suggest that you refer to our release history where you can get very detailed information on the specific changes that we implemented with our controls.

Regards,
Kate
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Scheduler
Asked by
Pramodh
Top achievements
Rank 1
Answers by
Kate
Telerik team
Share this question
or