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
120
gridexcelexporter with RowLayoutGroupInfo throw object references error
posted

Hi,

I used ultrawingrid excel exporter with RowLayoutGroupInfo and i got Object reference error.

If I don't use RowLayoutGroupInfo and i can export to excel successfully.

I used 11.1.20111.1003 version.

Kindly advice.

Below are the stack trace.

   at Infragistics.Win.UltraWinGrid.UltraGridBand.GetSummaryLayoutPreferredSize(SummaryDisplayAreaContext context)
   at Infragistics.Win.UltraWinGrid.SummaryValuesCollection.GetFixedSummaryLineHeight(SummaryDisplayAreaContext context, Int32 level)
   at Infragistics.Win.UltraWinGrid.SummaryValuesCollection.GetFixedFooterAreaHeight(SummaryDisplayAreaContext context)
   at Infragistics.Win.UltraWinGrid.SummaryValuesCollection.GetSummaryFooterHeight(SummaryDisplayAreaContext context)
   at Infragistics.Win.UltraWinGrid.UltraGridSummaryRow.get_BaseHeight()
   at Infragistics.Win.UltraWinGrid.UltraGridRow.get_TotalHeight()
   at Infragistics.Win.UltraWinGrid.VisibleRow.GetTotalHeight(Boolean adjustForOverlappedBorders)
   at Infragistics.Win.UltraWinGrid.VisibleRow.GetTotalHeight()
   at Infragistics.Win.UltraWinGrid.RowScrollRegion.IsRowFullyVisible(ScrollbarVisibility colScrollbarVisibility, VisibleRow visibleRow)
   at Infragistics.Win.UltraWinGrid.RowScrollRegion.IsFirstScrollableRowVisible(ScrollbarVisibility colScrollbarVisibility)
   at Infragistics.Win.UltraWinGrid.RowScrollRegion.IsFirstScrollableRowVisible()
   at Infragistics.Win.UltraWinGrid.RowScrollRegion.ResetScrollInfo()
   at Infragistics.Win.UltraWinGrid.RowScrollRegion.RegenerateVisibleRows(Boolean resetScrollInfo)
   at Infragistics.Win.UltraWinGrid.RowScrollRegion.RegenerateVisibleRows()
   at Infragistics.Win.UltraWinGrid.RowScrollRegion.WillScrollbarBeShown(ScrollbarVisibility assumeColScrollbarsVisible)
   at Infragistics.Win.UltraWinGrid.ScrollRegionBase.WillScrollbarBeShown()
   at Infragistics.Win.UltraWinGrid.DataAreaUIElement.AddIntersectionHelper(UIElementsCollection oldElements, RowScrollRegion rsr, ColScrollRegion csr, RowScrollRegion rsrPrevious, ColScrollRegion csrPrevious, Boolean lastVisibleRsr, Boolean lastVisibleCsr)
   at Infragistics.Win.UltraWinGrid.DataAreaUIElement.PositionChildElements()
   at Infragistics.Win.UIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)
   at Infragistics.Win.UltraWinGrid.DataAreaUIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)
   at Infragistics.Win.UltraWinGrid.DataAreaUIElement.set_Rect(Rectangle value)
   at Infragistics.Win.UltraWinGrid.UltraGridUIElement.PositionChildElements()
   at Infragistics.Win.UIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)
   at Infragistics.Win.UltraWinGrid.UltraGridUIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)
   at Infragistics.Win.UIElement.VerifyChildElements(Boolean recursive)
   at Infragistics.Win.UltraWinGrid.UltraGridUIElement.InternalInitializeRect(Boolean verify)
   at Infragistics.Win.UltraWinGrid.UltraGridLayout.InternalInitializeUltraGridUIElementRect(Boolean verify, Boolean onlyWhenEmpty)
   at Infragistics.Win.UltraWinGrid.RowsCollection.SyncRows()
   at Infragistics.Win.UltraWinGrid.RowsCollection.EnsureNotDirty()
   at Infragistics.Win.UltraWinGrid.RowsCollection.get_Count()
   at Infragistics.Win.UltraWinGrid.UltraGridBand.GetRowSelectorNumberWidth()
   at Infragistics.Win.UltraWinGrid.UltraGridLayout.GetRowSelectorWidthDefault(UltraGridBand band)
   at Infragistics.Win.UltraWinGrid.UltraGridBand.get_RowSelectorWidthResolved()
   at Infragistics.Win.UltraWinGrid.UltraGridBand.get_RowSelectorExtent()
   at Infragistics.Win.UltraWinGrid.UltraGridBand.GetExtentLayout(Boolean minimum, BandOrigin bandOrigin)
   at Infragistics.Win.UltraWinGrid.UltraGridBand.GetExtentLayout()
   at Infragistics.Win.UltraWinGrid.UltraGridGroup.CalcLayoutHelper(Int32 bandExtent)
   at Infragistics.Win.UltraWinGrid.UltraGridGroup.CalcLayoutHelper()
   at Infragistics.Win.UltraWinGrid.UltraGridGroup.VerifyRowLayoutCache()
   at Infragistics.Win.UltraWinGrid.UltraGridBand.VerifyRowLayoutCache()
   at Infragistics.Win.UltraWinGrid.UltraGridBand.get_LayoutOrderedVisibleColumnHeaders()
   at Infragistics.Win.UltraWinGrid.UltraGridBand.GetAllOrderedHeaders()
   at Infragistics.Win.UltraWinGrid.UltraGridBand.CalculateBandMetrics(UltraGridBand priorBand)
   at Infragistics.Win.UltraWinGrid.BandsCollection.CalculateBandMetrics(Int32 pass)
   at Infragistics.Win.UltraWinGrid.BandsCollection.CalculateBandMetrics()
   at Infragistics.Win.UltraWinGrid.ColScrollRegionsCollection.InitializeMetricsHelper()
   at Infragistics.Win.UltraWinGrid.ColScrollRegionsCollection.InitializeMetrics()
   at Infragistics.Win.UltraWinGrid.UltraGridLayout.ApplyLoadedBands()
   at Infragistics.Win.UltraWinGrid.UltraGrid.Export(IUltraGridExporter exporter)
   at Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter.Export(UltraGrid grid, Worksheet worksheet, Int32 startRow, Int32 startColumn)
   at Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter.Export(UltraGrid grid, WorkbookFormat workbookFormat)
   at Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter.Export(UltraGrid grid, String fileName, WorkbookFormat workbookFormat)
   at Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter.Export(UltraGrid grid, String fileName)
   at nSolution.mdiMain.ExportExcelByUltraGrid(Object ugExcel, String strFileName) in D:\PROJECTS\nSolution\nSolution\nSolution\nSolution\mdiMain.vb:line 2162

Parents
No Data
Reply Children
No Data