Hi,
I am using Visual Studio 2010 Prof and Infragistic2.Excel V10.1. I am able to export the ultragrid rows and columns with Column Headers to Excel perfectly (without grouping the columns in ultraGrid). But when the columns are grouped in UltraGrid, i am unable to export the ultragrid rows and columns. When the columns are grouped in ultragrid, the rows are collapsed based on grouped column. The error is : object reference not set to instance of the object.
I have modified the code specified in following link: http://help.infragistics.com/Help/NetAdvantage/WinForms/2009.2/CLR2.0/HTML/WinGridExcelExporter_Transposing_Rows_and_Columns_using_WinGrid_Excel_Exporter.html
Please help me.
Regards,
Ramakrishna
Thanks Mike.
I got the solution.
Hi Ramakrishna,
The first thing I recommend is that you get the latest service release. Maybe this is a bug that is already fixed.
How to get the latest service release - Infragistics Community
If that does not help, then it might be helpful if you posted the entire call stack from the error. That exception message alone isn't enough to even guess what the problem might be.
Another thing you could try is to set the Visual Studio IDE to break on all run-time exceptions. This exception could be occurring in an event handlers in your code and being caught, so the exception message you are seeing is not where the real problem occurred.