i have a grid that exports fine as long as it is not grouped. the exporter and the code behind are using essentially the code from here
http://help.infragistics.com/Help/NetAdvantage/Silverlight/2011.2/CLR4.0/html/xamGrid_Asynchronous_Export_to_Excel.html
when i allow grouping the grid will not export. it also fails to through the exception in the catch. if i debug and step through i can capture it
mesage
"There was an error generating the XML document."
Innerexception
"Exception of type 'System.OutOfMemoryException' was thrown."
i do not understand why this is occuring, it is not in the known issues for export
any help would be apprciated
so for giggles i pulled the code out of you sample. i re wrote my page to use your exporting piece of it. got the same error message
There was an error generating the XML document
we are currently using 11.2. i have not been able to validate that 12.1 works on SL 4. does this work? i can not open the sample project as i do not have SL 5 installed
as i stated in the original post we are using this async approach.
<ig:XamGridExcelExporter x:Name="excelExporter" ExcludeGroupBy="False" ExportRange="All" ExportEnded="excelExporter_ExportEnded" />
// Export xamGrid data to the created Workbook object
this.excelExporter.ExportAsync(this.LawsRegXamGrid, _workbook);
void excelExporter_ExportEnded(object sender, EventArgs e)...
i notice you use no ended event?
we are also using the work around in this post:
http://ko.infragistics.com/community/forums/p/67700/362994.aspx#362994
should null values effect it?
we are using RIA to populate a List<class>
Hello,
Thank you for your post. I have been looking into the issue that you have described and I could not managed to reproduce it. I have created a sample application in order to test the exporting of the XamGrid into excel, using the asynch method when there is grouping applied to the grid and I have managed to export 10000 group rows into an excel worksheet. I have tested the sample application using the latest service release of version 12.1. I am attaching the sample application that I have created and the MS Excel document which is result of the exporting of the XamGrid.
Please let me know if you can reproduce the same issue with my sample application or I have misunderstood your scenario in any way.
Looking forward to hearing from you.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support