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
Please try the latest service release for SL4 if you cannot upgrade to SL5. The latest version of the SL4 assemblies is 11.2.20112.2068.
i can not upgrade to SL 5 until the compnay says so, so i must stay at SL 4. if you can not support you product please let me account rep know as i may have to return this product
it is an utter failure, basically completely untested
Hi spicish2222,
You're using the RTM version of 11.2 then if those are the assembly versions being used in your application. I suggest updating to the latest service release of NetAdvantage for Silverlight which is on version 11.2.20112.2199 for the Silverlight 5 version. https://es.infragistics.com/my-account/keys-and-downloads/
I've tried reproducing the issue previously but have had no luck so at this point if upgrading to the latest service release does not resolve the issue I'm going to need a sample from you that reproduces this.
i need a response on this. i have now put out a grid in production that i couldnt include grouping and still fails with the system out of memeory excption
at first i could not! i found a way to get it to show up eventually, it says
First - Cannot evaluate expression because the current thread is in a stack overflow state.
STACK
at System.Text.StringBuilder.ToString() at Infragistics.Persistence.PersistenceManager.SaveGroup(PersistenceGroup group, PersistenceSettings groupSettings) at Infragistics.Persistence.PersistenceManager.Save(DependencyObject obj, PersistenceSettings settings) at Infragistics.Controls.Grids.XamGridExcelExporter.CopySourceGridToExporterGrid() at Infragistics.Controls.Grids.XamGridExcelExporter.ExportInternal() at Infragistics.Controls.Grids.XamGridExcelExporter.Export(XamGrid grid, Workbook workBook, Worksheet workSheet, PackageFactory pf, Boolean useAsync) at Infragistics.Controls.Grids.XamGridExcelExporter.ExportAsync(XamGrid grid, Workbook workBook, PackageFactory pf) at Infragistics.Controls.Grids.XamGridExcelExporter.ExportAsync(XamGrid grid, Workbook workBook) at SLBLawRegCv1.Views.Analyze.JobsReport.ExportWorkbook() at SLBLawRegCv1.Views.Analyze.JobsReport.btnExport_Click(Object sender, RoutedEventArgs e)
the output says this
A first chance exception of type 'System.OutOfMemoryException' occurred in mscorlib.dllThe thread '<No Name>' (0x25c8) has exited with code 0 (0x0).Step into: Stepping over non-user code 'System.Exception.Message.get'The thread '<No Name>' (0x15d0) has exited with code 0 (0x0).
it will not throw unless i am debugging, please see the attached image
if i start with out debugging it still does not work as far as creating a file but it does not throw an exception as well
what i do notice is that it doesnt get to this event before it fails: excelExporter_ExportStarted
InfragisticsSL4.Controls.Grids.ExcelExporter.v11.2
v2.0.50727
11.2.20112.1010
InfragisticsSL4.Controls.Grids.XamGrid.v11.2