DockingManager.SaveDockState doesn''t work with MemoryStream

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));

6 Replies

AD Administrator Syncfusion Team 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.


AD Administrator Syncfusion Team 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.


AD Administrator Syncfusion Team 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. "


AD Administrator Syncfusion Team 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.


RI Richard 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?"


AD Administrator Syncfusion Team 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?"

Loader.
Up arrow icon