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
120
Exception on using TearOffMenu
posted

I added a Infragistics popup menu to the UltraWinGrid, and selected the "allow tearaway". Runs, looks great. Start to tear away, and it gives the below exception: Any ideas what the problem is?

Unhandled Exception

---------------------------

Unhandled Exception:

 

Object reference not set to an instance of an object.

 

System.NullReferenceException

 

Stack Trace:

   at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.OnDragTearawayMove()

 

   at Infragistics.Win.UltraWinToolbars.PopupMenuTearawayStripUIElement.OnMouseMove(MouseEventArgs e)

 

   at Infragistics.Win.ControlUIElementBase.ProcessMouseMoveHelper(Object sender, MouseEventArgs e)

 

   at Infragistics.Win.ControlUIElementBase.ProcessMouseMove(Object sender, MouseEventArgs e)

 

   at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)

 

   at Infragistics.Win.UltraControlBase.OnMouseMove(MouseEventArgs e)

 

   at System.Windows.Forms.Control.WmMouseMove(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.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)

 

   at Bombardier.Orbiflo.Windows.AbstractApplication.Run()

 

   at Bombardier.Orbiflo.Windows.Forms.ShellApplication.Main()

---------------------------

OK