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
75
Field Chooser - System.ArithmeticException
posted

Hello!
I am experiencing an error that has no way to fix.
I am using Infragistics NetAdvantage for .NET (Windows Forms) 10.2.20102.1004.

By clicking on the top left of WinGrid the form that should appear with the list of fields, only appears with a large red "X" and displays the following error:

System.ArithmeticException: overflow or underflow in the arithmetic operation.
   
in Infragistics.Win.Layout.GridBagLayoutManager.GridBagHelper (ILayoutContainer container, Object containerContext, layoutContainer Boolean, Boolean returnItemDimensions)
   
in Infragistics.Win.Layout.GridBagLayoutManager.GetLayoutItemDimensions (ILayoutContainer container, Object containerContext)
   
in Infragistics.Win.UltraWinGrid.UltraGridBand.VerifyRowLayoutCache ()
   
in Infragistics.Win.UltraWinGrid.UltraGridBand.GetAllOrderedHeaders ()
   
in Infragistics.Win.UltraWinGrid.UltraGridBand.CalculateBandMetrics (UltraGridBand priorBand)
   
in Infragistics.Win.UltraWinGrid.BandsCollection.CalculateBandMetrics (Int32 pass)
   
in Infragistics.Win.UltraWinGrid.BandsCollection.CalculateBandMetrics ()
   
in Infragistics.Win.UltraWinGrid.ColScrollRegionsCollection.InitializeMetricsHelper ()
   
in Infragistics.Win.UltraWinGrid.ColScrollRegionsCollection.InitializeMetrics ()
   
in Infragistics.Win.UltraWinGrid.UltraGridLayout.ApplyLoadedBands ()
   
in Infragistics.Win.UltraWinGrid.UltraGridLayout.ListManagerUpdated (BindingManagerBase bindingManager)
   
in Infragistics.Win.UltraWinGrid.UltraGridLayout.ListManagerUpdated ()
   
in Infragistics.Win.UltraWinGrid.UltraGridBase.Set_ListManager (Object newDataSource, String newDataMember)
   
in Infragistics.Win.UltraWinGrid.UltraGridBase.SetDataBindingHelper (Object dataSource, dataMember String, Boolean hideNewColumns, Boolean hideNewBands)
   
in Infragistics.Win.UltraWinGrid.UltraGridBase.SetDataBinding (Object dataSource, dataMember String, Boolean hideNewColumns, Boolean hideNewBands)
   
in Infragistics.Win.UltraWinGrid.UltraGridBase.SetDataBinding (Object dataSource, String dataMember)
   
in Infragistics.Win.UltraWinGrid.UltraGridColumnChooser.CreateColumnChooserGridDataStructure ()
   
in Infragistics.Win.UltraWinGrid.UltraGridColumnChooser.Initialize ()
   
in Infragistics.Win.UltraWinGrid.UltraGridColumnChooser.VerifyInitialized ()
   
in Infragistics.Win.UltraWinGrid.ColumnChooserGridCreationFilter.BeforeCreateChildElements (parent UIElement)
   
in Infragistics.Win.UIElement.VerifyChildElements (ControlUIElementBase ControlElement, Boolean recursive)
   
in Infragistics.Win.UltraWinGrid.UltraGridUIElement.VerifyChildElements (ControlUIElementBase ControlElement, Boolean recursive)
   
in Infragistics.Win.UIElement.VerifyChildElements (Boolean recursive)
   
in Infragistics.Win.UltraWinGrid.UltraGridUIElement.InternalInitializeRect (Boolean VERIFY)
   
in Infragistics.Win.UltraWinGrid.UltraGridLayout.InternalInitializeUltraGridUIElementRect (VERIFY Boolean, Boolean onlyWhenEmpty)
   
in Infragistics.Win.UltraWinGrid.UltraGridLayout.GetUIElement (VERIFY Boolean, Boolean forceInitializeRect)
   
in Infragistics.Win.UltraWinGrid.UltraGrid.OnPaint (PaintEventArgs Standing)
   
in System.Windows.Forms.Control.PaintWithErrorHandling (PaintEventArgs and Int16 layer)
   
in System.Windows.Forms.Control.WmPaint (Message & m)
   
in System.Windows.Forms.Control.WndProc (Message & m)
   
in System.Windows.Forms.Control.ControlNativeWindow.OnMessage (Message & m)
   
in System.Windows.Forms.Control.ControlNativeWindow.WndProc (Message & m)
   
in System.Windows.Forms.NativeWindow.Callback (IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Can anyone help?

Parents
  • 21795
    Offline posted

    Hello Julio,

    I am just checking about the progress of this issue. Did you succeed to reproduce this in a small sample project? Do you need my further assistance on this?

    Thank you for using Infragistics Components.

Reply Children