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

RadAjaxLoadingPanel with Telerik Report to PDF

2 Answers 76 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
john81
Top achievements
Rank 1
john81 asked on 08 Mar 2010, 06:05 PM
Is there any way to get the RadAjaxLoadingPanel to work with a Telerik report that is output as a PDF file?  The report takes a long time to generate so I'd like to show a loading screen or have some way to indicate that the pdf file is generating.  If I try to use the RadAjaxLoadingPanel, I'm getting a Sys.WebForms.PageRequestManagerParserErrorException because the code to programatically create a PDF from a Telerik report uses Response.BinaryWrite.

So is there any way to either...

show progress when a pdf file is being programmatically created from a Telerik report

OR

create a pdf file programmatically created from a Telerik report without using Response.BinaryWrite (in which case I could use the RadAjaxLoadingPanel to show progress)

2 Answers, 1 is accepted

Sort by
0
Shannon
Top achievements
Rank 1
answered on 23 Aug 2011, 03:45 AM
Any options / solutions to this? I'm looking to solve the same issue.
0
Steve
Telerik team
answered on 23 Aug 2011, 02:47 PM
Hi guys,

This is not possible for two reasons:
  • exporting requires a postback and you cannot use loading panel.
  • even if you use client script to invoke it, after the export the response does not return to the page and the loading panel/page you show cannot be hidden/stopped.

Greetings,
Steve
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
General Discussions
Asked by
john81
Top achievements
Rank 1
Answers by
Shannon
Top achievements
Rank 1
Steve
Telerik team
Share this question
or