GANTT PDF / Excel Export

Dear All

after updating to the latest Version I have issues with the export function, it does not work anymore.

I will get this errors if I try to export to an PDF:

Unhandled exception at line 6, column 28143 in http://localhost:1787/Scripts/WebForms/MsAjax/MicrosoftAjaxWebForms.js
0x800a138f - JavaScript runtime error: Unable to get property 'PRM_ParserErrorDetails' of undefined or null reference

Thread was being aborted. StackTrace:    at System.Threading.Thread.AbortInternal()
   at System.Threading.Thread.Abort(Object stateInfo)
   at System.Web.HttpResponse.AbortCurrentThread()
   at System.Web.HttpResponse.End()
   at Syncfusion.Pdf.PdfDocumentBase.Save(String fileName, HttpResponse response, HttpReadType type)
   at Syncfusion.EJ.Export.GanttPdfExport.Export(GanttProperties treeGridProperties, IEnumerable dataSource, Boolean exportToFile)
   at Syncfusion.EJ.Export.PdfExport.Export(GanttProperties ganttModel, IEnumerable datasource, GanttPdfExportSettings settings, String fileName)
and this Error if I try to export to an Excel:

Unhandled exception at line 6, column 16485 in http://localhost:1787/Scripts/WebForms/MsAjax/MicrosoftAjaxWebForms.js
0x800a139e - JavaScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Thread was being aborted.

Thread was being aborted. StackTrace:    at System.Threading.Thread.AbortInternal()
   at System.Threading.Thread.Abort(Object stateInfo)
   at System.Web.HttpResponse.AbortCurrentThread()
   at System.Web.HttpResponse.End()
   at Syncfusion.XlsIO.Implementation.WorkbookImpl.SaveAs(String fileName, ExcelSaveType saveType, HttpResponse response, ExcelDownloadType downloadType, ExcelHttpContentType contentType)
   at Syncfusion.XlsIO.Implementation.WorkbookImpl.SaveAs(String fileName, HttpResponse response, ExcelDownloadType downloadType, ExcelHttpContentType contentType)
   at Syncfusion.EJ.Export.GanttExcelExport.Export(GanttProperties ganttModel, IEnumerable dataSource, Boolean multipleExport)
   at Syncfusion.EJ.Export.ExcelExport.Export(GanttProperties ganttModel, IEnumerable dataSource, String excelName, ExcelVersion excelVersion, GanttExportSettings settings)

what did change, how do I have to adjust the code?



Martin

1 Reply

JD Jayakumar Duraisamy Syncfusion Team January 31, 2018 04:07 PM UTC

Hi Martin, 
We have analyzed your reported errors but we will need more details about your previous and new updated product versions and the browser information. If possible share demo sample to replicate the reported error. It will be helpful for us to provide exact solution. 
Regards, 
Jayakumar D 


Loader.
Up arrow icon