PDF Exporting with resource grouping

2 posts, 0 answers
  1. Matthew Botting
    Matthew Botting avatar
    41 posts
    Member since:
    Apr 2005

    Posted 24 Apr 2013 Link to this post

    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>

  2. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    2062 posts

    Posted 26 Apr 2013 Link to this post

    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.
Back to Top