I am using an ultrawintree control displaying data in the form of grid i.e. ViewStyle is grid. Now I right click on the header and then left click on any of the cell, it throws an application error. The call stack is as follows:
System.NullReferenceException: Object reference not set to an instance of an object. at Infragistics.Win.UltraWinTree.UltraTree.UltraTreeGridBagLayoutDragManager.ColumnRepositionDragEnd(Point clientPoint) at Infragistics.Win.UltraWinTree.UltraTree.Infragistics.Win.ISelectionManager.OnDragEnd(Boolean cancelled) at Infragistics.Win.SelectionStrategyNone.OnMouseMessage(ISelectableItem item, MouseMessageInfo& msginfo) at Infragistics.Win.ControlUIElementBase.ProcessMouseUpHelper(Object sender, MouseEventArgs e) at Infragistics.Win.ControlUIElementBase.ProcessMouseUp(Object sender, MouseEventArgs e) at System.Windows.Forms.MouseEventHandler.Invoke(Object sender, MouseEventArgs e) at System.Windows.Forms.Control.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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(Form mainForm)
Please Help!!!!!!
Hi Brian,
I'm able to replicate the issue. And, have a sample code attached. Request you to please take a look and provide your guidance/suggestions.
Steps to Replicate (with the sample code):1. Right click on a column header 'Type' or 'Parts', Then2. Left click on any cell below
Thanks and Regards- Kiran
This issue seems to only happen when the column header that is right-mouse clicked is a sortable column header. The original post on this was from 2009. We're still seeing this in 2011. Any update?
Hi,
I ran into this error. Could you please let me know if you got a chance to log an incident with Developer Support? Was there a fix available? OR Do you have any thoughts on a possible work around?
Appreciate your help!
Meanwhile, I'm trying to duplicate the error on a small code snippet.
-Kiran
I was not able to reproduce this issue with a simple test, but clearly it is a bug. You might want to log an incident with Developer Support, or post a small sample that demonstrates the issue so we can take a look.