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
1725
UltraGridDocumentExporter Limits
posted

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