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)
Hello,
Refer to the below forum threads that will help you to resolve the issue you described:
<http://forums.infragistics.com/forums/t/55715.aspx>
<http://forums.infragistics.com/forums/t/66288.aspx>
If this issue is still present provide me with the mark up of the page so I may look in to this.
I hope this helps.
I am just following up to see if you need any further assistance with this matter.