Are there any particular limits when using the Grid document exporter.
I've started receiving the following exceptions when trying to export a grid.
System.ArgumentOutOfRangeException: [1, ...]
The exception information is not very helpful and the stack trace shows
System.ArgumentOutOfRangeException: [1, ...] at Infragistics.Documents.Report.Grid.GridCell.set_RowSpan(Int32 value) at Infragistics.Win.UltraWinGrid.DocumentExport.UltraGridDocumentExporter.CreateReportCell(List`1 reportRows, DocumentColumnInfo documentColumnInfo) at Infragistics.Win.UltraWinGrid.DocumentExport.UltraGridDocumentExporter.ExportNormalCell(UltraGridRow gridRow, UltraGridColumn gridColumn, List`1 reportRows, DocumentColumnInfo documentColumnInfo) at Infragistics.Win.UltraWinGrid.DocumentExport.UltraGridDocumentExporter.ExportNormalRow(UltraGridRow row, ITable table) at Infragistics.Win.UltraWinGrid.DocumentExport.UltraGridDocumentExporter.ExportRow(UltraGridRow row, ITable table) at Infragistics.Win.UltraWinGrid.DocumentExport.UltraGridDocumentExporter.ProcessGridRowInternal(UltraGridExporterHelper ultraGridExporterHelper, UltraGridRow row, ProcessRowParams processRowParams) at Infragistics.Win.UltraWinGrid.DocumentExport.UltraGridExporterHelper.Infragistics.Win.UltraWinGrid.IUltraGridExporter.ProcessRow(UltraGridRow row, ProcessRowParams processRowParams) at Infragistics.Win.UltraWinGrid.RowsCollection.InternalTraverseRowsHelper(IUltraGridExporter exporter) at Infragistics.Win.UltraWinGrid.RowsCollection.InternalTraverseRowsHelper(IUltraGridExporter exporter) at Infragistics.Win.UltraWinGrid.RowsCollection.InternalTraverseRowsHelper(IUltraGridExporter exporter) at Infragistics.Win.UltraWinGrid.RowsCollection.InternalTraverseRowsHelper(IUltraGridExporter exporter) at Infragistics.Win.UltraWinGrid.UltraGrid.Export(IUltraGridExporter exporter) at Infragistics.Win.UltraWinGrid.DocumentExport.UltraGridDocumentExporter.Export(UltraGrid grid, ISection section) at Infragistics.Win.UltraWinGrid.DocumentExport.UltraGridDocumentExporter.Export(UltraGrid grid, Report report)
The display grid does use row layouts and has a column that is "LablePosition.LabelOnly" that I use for a title for the band items. Is that the problem. I know there was (perhaps is) a defect related to using row layouts that I thought was fixed in the latest 2008 hot fix. Perhaps not? Or something else?
Neil
Hi Neil,
Do you have the hot fix? There definitately was an issue just like this that occurred when you have a RowLayout and are using LabelOnly. But it was fixed, so it should work in the latest Hot Fix.
If not, you should Submit an incident to Infragistics Developer Support. There are no built-in limits, and if there were, it certainly wouldn't be right for the exporter to raise an exception like this with no useful explanation.
Yes, I do have the hot fix (at least I have build 2013, assuming that this is the latest hot fix).
I've submitted the incident again.