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
90
Cardview crashes after scroll up
posted

Hi,

I have a ultrawingrid and I set cardview to true so it appears in cardview. I group by a field and then I scroll down and scroll up.

The grid crashes with the following error :

 

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at Infragistics.Win.UltraWinGrid.RowColRegionIntersectionUIElement.CardRowSizingHelper(CardAreaUIElement cardRowElement)
   at Infragistics.Win.UltraWinGrid.RowColRegionIntersectionUIElement.AddRowHelper(UIElement parentElement, UIElementsCollection oldElements, Rectangle& rcElement, VisibleRow visibleRow, Boolean overlapTopBorder, Boolean offsetElementIfPossible)
   at Infragistics.Win.UltraWinGrid.RowColRegionIntersectionUIElement.PositionChildElements()
   at Infragistics.Win.UIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)
   at Infragistics.Win.UltraWinGrid.RowColRegionIntersectionUIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)
   at Infragistics.Win.UIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)
   at Infragistics.Win.UltraWinGrid.DataAreaUIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)
   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.RowsCollection.GetCardAreaElement(RowScrollRegion rsr, ColScrollRegion csr, Boolean scrollIntoView, UltraGridRow row, Boolean exitEditMode, Boolean verifyElements)
   at Infragistics.Win.UltraWinGrid.RowsCollection.ScrollCardIntoView(UltraGridRow row, RowScrollRegion rsr, ColScrollRegion csr, Boolean exitEditMode)
   at Infragistics.Win.UltraWinGrid.RowsCollection.ScrollCardIntoView(UltraGridRow row, RowScrollRegion rsr)
   at Infragistics.Win.UltraWinGrid.RowScrollRegion.ScrollRowIntoViewHelper(UltraGridRow row, Boolean exitEditMode, Boolean dontUpdateGridControl, Boolean maintainClosestScrollPosition, Boolean& selfUsedFlag)
   at Infragistics.Win.UltraWinGrid.RowScrollRegion.ScrollRowIntoView(UltraGridRow row, Boolean exitEditMode, Boolean dontUpdateGridControl, Boolean maintainClosestScrollPosition)
   at Infragistics.Win.UltraWinGrid.RowScrollRegion.ScrollRowIntoView(UltraGridRow row)
   at Infragistics.Win.UltraWinGrid.UltraGrid.OnActiveRowChange(UltraGridRow newActiveRow, Boolean scrollIntoView)
   at Infragistics.Win.UltraWinGrid.UltraGridBase.SetActiveRow(UltraGridRow row, Boolean scrollIntoView)
   at Infragistics.Win.UltraWinGrid.UltraGridBase.set_ActiveRow(UltraGridRow value)
   at Infragistics.Win.UltraWinGrid.UltraGridRow.Activate()
   at Infragistics.Win.UltraWinGrid.UltraGridRow.SetFocusAndActivate(Boolean byMouse, Boolean enterEditMode, Boolean byTabKey)
   at Infragistics.Win.UltraWinGrid.UltraGridRow.SetFocusAndActivate()
   at Infragistics.Win.UltraWinGrid.UltraGrid.Infragistics.Win.ISelectionManager.ActivateItem(ISelectableItem item)
   at Infragistics.Win.SelectionStrategyExtended.ProcessKeyBoardItem(ISelectableItem item, Boolean shift, Boolean control, Boolean forceToggle)
   at Infragistics.Win.UltraWinGrid.UltraGridLayout.PerformAction(UltraGridAction actionCode, Boolean shiftKeyDown, Boolean ctlKeyDown)
   at Infragistics.Win.UltraWinGrid.UltraGrid.PerformKeyAction(Enum actionCode, Boolean shiftKeyDown, Boolean ctlKeyDown)
   at Infragistics.Win.UltraWinGrid.UltraGridUIElement.PerformKeyAction(Enum actionCode, Boolean shiftKeyDown, Boolean ctlKeyDown)
   at Infragistics.Win.ControlUIElementBase.ProcessKeyDown(Object sender, KeyEventArgs e)
   at Infragistics.Win.ControlUIElementBase.ProcessKeyDown(KeyEventArgs e)
   at Infragistics.Win.UltraWinGrid.UltraGridUIElement.ProcessKeyDown(KeyEventArgs e)
   at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)
   at Infragistics.Win.UltraControlBase.OnKeyDown(KeyEventArgs e)
   at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
   at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
   at System.Windows.Forms.Control.WmKeyChar(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

any ideas?

Thank you

D.E.

Parents Reply Children
No Data