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
375
Exception when try to resize band group
posted

Hi,

I have a grid in a window form. In the form's constructor, I initialize the grid columns and band header groups based on a predefined xml file. There is no problem in loading. I can resize any column by draging the column header. However, when I try to resize the band header group by draging the group header, it throws out following exception. I have no idea about this exception. Can someone help? Thanks a lot.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at Infragistics.Win.UltraWinGrid.HeaderUIElement.ApplyAdjustment(Point delta)
   at Infragistics.Win.AdjustableUIElement.OnMouseUp(MouseEventArgs e)
   at Infragistics.Win.UltraWinGrid.HeaderUIElement.OnMouseUp(MouseEventArgs e)
   at Infragistics.Win.ControlUIElementBase.ProcessMouseUpHelper(Object sender, MouseEventArgs e)
   at Infragistics.Win.ControlUIElementBase.ProcessMouseUp(Object sender, MouseEventArgs e)
   at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)
   at Infragistics.Win.UltraControlBase.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   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)

 

Parents
  • 469350
    Verified Answer
    Offline posted

     Do you have the latest Hot Fix? I vaguely recall a bug like this which was fixed a long time ago. What version of the grid are you using? 

    The call stack here is pretty much all internal to the grid, so I don't see how anything in your application could be causing this - it must be a bug in the grid. If it's not already fixed in the hot fix, then you should Submit an incident to Infragistics Developer Support and include a small sample project demonstrating the error so they can check it out.

Reply Children