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

Docking Manager: exception after serialization

Thread ID:





63030 Jun 27,2007 08:15 AM UTC Jun 27,2007 10:45 PM UTC WinForms 1
Tags: Tools
Vladislav Sergeev
Asked On June 27, 2007 08:15 AM UTC

Dear all,

I am trying to serialize/deserialize the docking layout to/from the external memory stream.

Having deserialized, the docking manager throws an exception as one of the docked windows is dragged to become floating. The exception appears when the procedure (serialize->deserialize->undock->dock) is repeated at least twice.

The sample code that illustrates the bug is attached.

Would be thankful for any feedback.


************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Syncfusion.Windows.Forms.Tools.FloatingFormController.IsFloatOnly()
at Syncfusion.Windows.Forms.Tools.WhidbeyDragProvider.ProcessMouseUp(DockControllerBase controller, IDraggable ctrl, Point ptscreen)
at Syncfusion.Windows.Forms.Tools.FloatingFormController.HandleMouseUpImp(MouseButtons button, Point ptclient)
at Syncfusion.Windows.Forms.Tools.FloatingForm.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.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at Syncfusion.Windows.Forms.Tools.FloatingForm.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)


Administrator [Syncfusion]
Replied On June 27, 2007 10:45 PM UTC

Hi Vlad,

Your Direct-Trac incident 35201 in this regard has been updated. Please refer to my response there and let me know if you need any other information.

Thank you for using Syncfusion products.



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