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

Dockmanager switches docked controls with each other on save/load

Thread ID:





50241 Oct 9,2006 07:23 PM UTC Oct 11,2006 04:17 PM UTC WinForms 1
Tags: Tools
Daniel Chait
Asked On October 9, 2006 07:23 PM UTC

I save out my dock manager using the following code:
private byte[] GetDockState()
MemoryStream ms = new MemoryStream();
AppStateSerializer appStateSer = new AppStateSerializer(SerializeMode.XMLFile, ms);
string stateStr = ms.ToString();
return ms.ToArray();

and load it back like this:
private void SetDockState(byte[] value)
_dockMgr.LoadDockState(new AppStateSerializer(
SerializeMode.XMLFile, new MemoryStream(value)));
However when I do, two of the controls are reversed. This happens every time, so if I save and load, they swap again. How can I fix this?


Murugan [Syncfusion]
Replied On October 11, 2006 04:17 PM UTC

Hi Daniel,

Since we have another forum on same isssue, Please follow the forum
Controls are reversed when saving/loading a dockManager

Murugan P.S


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.

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