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

Exported PDF files corrupt if IgnorePaging set to true

2 Answers 76 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 08 Jun 2012, 01:56 PM
As my title states, whenever I export my grid to pdf, if I set IgnorePaging to true, they export corrupt. If I set it to false, it exports ok. I'm binding to a simple datatable, all column's are auto-generated. Is this a bug?

Oh I should also mention that all other formats export fine, except pdf. I've tried virtually everything, turning off styles etc.

2 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 11 Jun 2012, 01:34 PM
Hello John,

Will you help me reproduce this problem? Simple code with self contained datasource (posted here as code-snippets) will do the trick. Alternatively you could submit a support ticket with a runnable demo attached.
Thank you for your cooperation.

Best regards,
Daniel
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.
0
John
Top achievements
Rank 1
answered on 11 Jun 2012, 01:39 PM
I've decided to just remove the option to export to pdf, users can export to Excel or Word, then to pdf. There was an error message to the tune of...

Unable to cast object of type 'Telerik.Web.Apoc.Layout.BlockArea' to type 'Telerik.Web.Apoc.Layout.AreaContainer'.

didn't save it anywhere, just googled and found a lot of suggestions about ShowHeader, Width of Div etc. None of the solutions I found worked, so I just pulled the feature.

Thanks anyway.
John
Tags
Grid
Asked by
John
Top achievements
Rank 1
Answers by
Daniel
Telerik team
John
Top achievements
Rank 1
Share this question
or