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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DockingManager.SaveDockState doesn''t work with MemoryStream

Thread ID:

Created:

Updated:

Platform:

Replies:

10169 Jan 23,2004 06:12 PM UTC Nov 25,2004 10:46 PM UTC WinForms 6
loading
Tags: Tools
Andrew Skalkin
Asked On January 23, 2004 06:12 PM UTC

Hi, I''m experiencing a problem with the saving of a dock state. It looks like nothing is being written to the MemoryStream in the snippet below: MemoryStream stream = new MemoryStream(); dockingManager.SaveDockState(new AppStateSerializer(SerializeMode.XMLFmtStream, stream));

Administrator [Syncfusion]
Replied On January 23, 2004 06:42 PM UTC

Hmmm... I just found out that it doesn''t work at all (neither with the SerializeMode.XMLFile nor the SaveDockState() method). I have an MDI application with the docking manager and a set of child form, each of them having its own docking manager. The problem appears when I try to save child form''s dock state.

Administrator [Syncfusion]
Replied On January 23, 2004 07:03 PM UTC

Hi Andrew, Please refer to the KB article listed below for information on this issue : How do I save/load docking state information of an application that has a MDI parent form containing multiple child forms where each child form has its own docking layout? The sample application link seems to be broken, and hence I have reattached the sample here : MDIForms_Docking_Sample. Please refer to this and let me know if you need any additional information. Thanks for choosing Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

Administrator [Syncfusion]
Replied On January 23, 2004 08:49 PM UTC

Hi Guru, >Please refer to the KB article listed below for information on this issue : >How do I save/load docking state information of an application that has a MDI parent form containing multiple child forms where each child form has its own docking layout? Thanks for the quick response! In my case, the Singleton approach woudn''t really help because each view''s layout is supposed to be saved in its own file. Also, we want to do additional additional custom serialization (mostly serialized controls) along with the layout, that''s why I am interested in writing the child form''s layout directly to "my" stream. I''m not sure if I can incorporate the whole logic into the DockingManager serialization... maybe I''ll take a closer look at your source code. >The sample application link seems to be broken, and hence I have reattached the sample here : MDIForms_Docking_Sample. Please refer to this and let me know if you need any additional information. "The page you are looking for is temporarily unavailable or may no longer exist or you do not have permission to view it. "

Administrator [Syncfusion]
Replied On January 28, 2004 11:00 AM UTC

Hi Andrew, I have created a DirectTrac incident - #8961 in this regard, and have replied to your query there. In future, please address all your support questions through Direct Trac. Thanks for your cooperation. Regards, Guru Patwal Syncfusion, Inc.

Richard
Replied On November 24, 2004 11:30 PM UTC

I have the same problem but I cannot access the following article, as it pops up a login dialog. "How do I save/load docking state information of an application that has a MDI parent form containing multiple child forms where each child form has its own docking layout?"

Administrator [Syncfusion]
Replied On November 25, 2004 10:46 PM UTC

Try this address for the article: http://64.78.18.34/support/article.aspx?id=10392 Syncfusion is having some problems with their web host. You can also search the knowledgebase for part of the article''s title. >I have the same problem but I cannot access the following article, as it pops up a login dialog. > >"How do I save/load docking state information of an application that has a MDI parent form containing multiple child forms where each child form has its own docking layout?"

CONFIRMATION

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

;