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

PDF Exporting with resource grouping

1 Answer 52 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Matthew Botting
Top achievements
Rank 1
Matthew Botting asked on 24 Apr 2013, 05:08 AM
Hi,
I am having issues with the PDF export function when attempting to export a schedule that goes over more than one page.
As I have resource grouping enabled my schedule easily goes over multiple pages. I have tried your demo site and it appears to export okay, however the PDF demo is relatively straight forward without grouping and hence fits on one page.

I have attached an example of my PDF. You will see that I have tried to work around the paging issue by increasing the page site but the scheduler is still cut off (both across and down the page). Note you can see the top of the second resource at the bottom of the page. When I use a regular A4 page I get the same minus all of the white space.

Below is the code I have been using, note by default the width of the schedule is not set, ie 100%. I have tried setting a fixed width to no avail.

Is this particular scenario supported or am I doing something wrong?
PS As I am unable to attach a PDF, I have attached a screenshot of the PDF instead
Thanks,
Matt

If Request.Form("__EVENTARGUMENT") = "PDFExport" Then

     radSch.Width = New Unit(900, UnitType.Pixel)

     radSch.ExportToPdf()

End If

 

<ExportSettings OpenInNewWindow="true" Pdf-PageTopMargin="0" Pdf-PageLeftMargin="0" Pdf-PageWidth="2000" Pdf-PageHeight="2000"></ExportSettings>

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 26 Apr 2013, 02:55 PM
Hello,

I am afraid that your observations are absolutely correct and this a limitation of our RadScheduler PDF export functionality. Unfortunately the only way to export your RadScheduler to a PDF document would be to avoid using resource grouping.

I would like to apologize for any inconveniences caused.

Regards,
Boyan Dimitrov
the Telerik team
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 their blog feed now.
Tags
Scheduler
Asked by
Matthew Botting
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or