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

[Solved] ExportToPDF not working

4 Answers 114 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Praveen
Top achievements
Rank 1
Praveen asked on 13 Feb 2010, 05:53 AM
When I use Editor control on the custom user control and try to export PDF, the PDF is not generating. Any Ideas to fix this?

4 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 16 Feb 2010, 03:01 PM
Hi Praveen,

The exporting feature of the control can work with regular postbacks only. The reason is the RadEditor prepares additional information when performing export operation (available on postback). When the action is performed through asynchronous requests, this information can not be passed through the XMLHttpObject - that is why the communication between the browser and the server fails.

Please, ensure that the editor's content is exported with a regular postback.

Best wishes,
Rumen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Praveen
Top achievements
Rank 1
answered on 18 Feb 2010, 02:55 AM
using AJAX, How do we really export the content to PDF. Any other way to crack this out.
0
Rumen
Telerik team
answered on 18 Feb 2010, 03:19 PM
Hi Praveen,

Please, see the following articles and try the suggestions in them:
Exclude controls from ajaxifying,
Export RadGrid content to Excel/Word/CSV/PDF with Ajax enabled
and
Export from ajaxified grid.

Greetings,
Rumen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Praveen
Top achievements
Rank 1
answered on 19 Feb 2010, 04:18 AM
Thanks a lot. Excluding the button from AJAX is the trick.
Tags
Editor
Asked by
Praveen
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Praveen
Top achievements
Rank 1
Share this question
or