I am using Group Headers to show my data on WinGrid. Some groups are fixed while others are not. If I try to re-size the group by putting my mouse over the separators among group headers and try to move it to the left or the right, I got an exception and message is shown below. However, if i do the same thing on the separators among column headers, everything is ok. I think there should be a bug somwhere. Please let me know if it is a bug, or if i do something wrong. I attach one simple project. Please unzip it and run it. You will see the problem.
OS: Windows XP Pro; IDE: VS 2005; Infragistics v7.3.20073.38
Thanks!
fei.
The error message is :Infragistics2.Win.UltraWinGrid.v7.3: Object reference not set to an instance of an object.
The stack trace is
Infragistics2.Win.UltraWinGrid.v7.3 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)
no answer?! I need a reply from Infragistcis. Thanks!
Hm. I could have sworn I answered this yesterday. Anyway, it doesn't appear that the exception has anything to do with your code, it looks like it's all internal to the grid. Are you using the latest Hot Fix? If not, you should try it. If that doesn't help, you should Submit an incident to Infragistics Developer Support
By the way, please note that these forums are for peer-to-peer support. I'm usually around answering questions weekday mornings, but if you need a reponse from Infragistics the forums are not the place to do it, you should contact support via the link above. :)
i did hotfix, which updates my infragistics from v7.3.20073.38 to v7.3.20073.1052. but the exception still happens. i guess i have to contach Developer Support for this issue. THanks!