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 Reply Children
No Data