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

Editor, PDF Export with AjaxManager?

1 Answer 51 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Sergey
Top achievements
Rank 2
Sergey asked on 30 Mar 2010, 07:10 PM
Hi,

I'm trying to get a clarification of if/how RadEditor functions with an AjaxManager on the page. Currently, I have a linkbutton that fires that fires a standard method with ExportToPDF() on the RadEditor, but no download/open prompt comes up. 

After some searching, I found this thread here which suggests that RadGrid doesn't work with AjaxManager/Ajax and I was wondering if RadEditor has the same behaviour, and if so, what the best way to get around this is? 

This is for VS2010RC, Telerik 2010Q1 release.

Cheers. 

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 31 Mar 2010, 02:42 PM
Hi Sergey,

RadEditor and RadGrid use the same HTML to PDF exported tool.

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, 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.

Sincerely yours,
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.
Tags
Editor
Asked by
Sergey
Top achievements
Rank 2
Answers by
Rumen
Telerik team
Share this question
or