Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
895
WebDocumentExporter is throwing a Javascript Error Sys.WebForms.PageRequestManagerParseErrorException
posted

Here is the error I am receiving on this line of code.

Code:
this.dExporter.DataExportMode = DataExportMode.AllDataInDataSource;

this.dExporter.TargetPaperOrientation = Infragistics.Documents.Reports.Report.PageOrientation.Portrait;

this.dExporter.ExportMode = ExportMode.InBrowser;

this.dExporter.Export(this.grdExpense);

Error:

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed.

 

This is what I know. I stepped through the document Export methods for OnExporting, OnExported, OnRowExporitng and OnRowExported. All went through fine. However I still can not get out off the.Export. On My page i do have an ajaxcontroltoolkit. If I set that to EnablePartialRendering=False it works. Else it blows up. I also tried wrapping some of these controls in an udpate pannel and tried to setup updatemode to conidtional. But I still get this error.

Any thoughts?