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
530
WebExcelExporter - Object reference not set to an instance of an object
posted

I'm try to export a webdatagrid using the excel exporter and get an error on this line:

WebExcelExporter1.Export(webDataGrid1)

 

 

Error Message: Object reference not set to an instance of an object.

 

Stack Trace:    at Infragistics.Web.UI.GridControls.BaseExporter.LoadLinkedStyles(RunBot runBot)

   at Infragistics.Web.UI.GridControls.WebExcelExporter.InitStyleSheet(RunBot runBot)

   at Infragistics.Web.UI.GridControls.WebExcelExporter.Export(WebDataGrid grid, Worksheet worksheet, Int32 rowOffset, Int32 columnOffset)

   at Infragistics.Web.UI.GridControls.WebExcelExporter.Export(WebDataGrid grid, Worksheet worksheet)

   at Infragistics.Web.UI.GridControls.WebExcelExporter.Export(WebDataGrid grid, Workbook workbook)

   at Infragistics.Web.UI.GridControls.WebExcelExporter.Export(WebDataGrid grid)

 

Parents
No Data
Reply Children