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
35
UltraWebGrid fails to export to excel Null Reference
posted

 Infragistics2.WebUI.UltraWebGrid.ExcelExport.v6.3, Version=6.3.20063.1091

Private

Sub cmdExcel_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdExcel.Click

 

Try

UltraWebGridExcelExporter1.Export(gridAssignments)

 

Catch ex As NullReferenceException

 

End Try

 

End Sub

Stepping through the code I always receive an exception (NullReferenceException) {"Object variable or With block variable not set."}, and the grid contains 8 rows. This error occurs at the line of execution and does not even fall into the catch. I have checked all related articles for this issue and have not found the answer. Any help would be great and thank you for your comments...