We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Exception Dragging A Docked Window

Thread ID:





80598 Apr 15,2009 12:09 PM UTC Apr 16,2009 05:45 AM UTC WinForms 1
Tags: Tools
Neil Blackburn
Asked On April 15, 2009 12:09 PM UTC

I've a MDI window containing a docked window handled by the Syncfusion docking manager. When I click on the title bar of the docked window and drags the mouse downwards to move the window I get the following exception:

Object reference not set to an instance of an object.: at Syncfusion.Windows.Forms.Tools.DockHostController.CreateFloatingFrame(Point ptlocation, Boolean show)
at Syncfusion.Windows.Forms.Tools.DockHostController.TransitDockToFloat()
at Syncfusion.Windows.Forms.Tools.DockHostController.ApplyDockInfo()
at Syncfusion.Windows.Forms.Tools.WhidbeyDragProvider.ProcessMouseMove(DockControllerBase controller, IDraggable ctrl, Point ptscreen)
at Syncfusion.Windows.Forms.Tools.DockHostController.HandleMouseMoveImp(MouseButtons button, Point pt)
at Syncfusion.Windows.Forms.Tools.DockHost.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at Syncfusion.Windows.Forms.Tools.DockHost.WndProc(Message& msg)
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)

This occurs in v7.1.0.21 using the .NET 2.0 assemblies.

Is this a known issue or is there any workaround?

Thanks for your help.

Administrator [Syncfusion]
Replied On April 16, 2009 05:45 AM UTC

Hi Neil,

Thank you for using Syncfusion products.

Exception when dragging a docked Window

I am afraid that I was not able to see this issue in version . I have followed the steps below to reproduce the issue.

1) In MDI form, created docking windows using DockingManager.
2) At runtime, clicked on the caption bar of the docked window and dragged the mouse downwards to move the window.
3) Exception is not thrown.

Please try reproducing the issue with the sample below and let me know if I missed out anything in reproducing the issue.




This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon