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


Thread ID:





73638 May 13,2008 05:46 PM UTC May 14,2008 01:33 PM UTC WinForms 2
Tags: Tools
Ron Alan Sawyer
Asked On May 13, 2008 05:46 PM UTC

I am trying to save the state of my docking manager but apparently am not fully understanding what needs to be done. I have used this code:

Syncfusion.Runtime.Serialization.AppStateSerializer LclStateSerializer = new Syncfusion.Runtime.Serialization.AppStateSerializer(SerializeMode.BinaryFile, @"c:\DockState");

But this does not produce a file.

I have also tried to use SerializeMode.XMLFile, again with no results.

What am I doing wrong?


J.Nagarajan [Syncfusion]
Replied On May 13, 2008 11:12 PM UTC

Hi ,

Thanks for your interest in Syncfusion products.

Please use the below code snippet to save the DockState.

AppStateSerializer serializer = new AppStateSerializer(SerializeMode.XMLFile, "..\\..\\Test");

Please refer to the following sample that demonstrates the serialization and deserialization of the state of docked controls. In this sample, you can save the docked controls’ state by using SaveDockState button and you can load the serialized state by using LoadDockState button .


Please let me know if this helps.


Ron Alan Sawyer
Replied On May 14, 2008 01:33 PM UTC

Thank you for your quick reply. I have only had to post one or two questions on this board, but each time the quickness of the response and the time spent creating an example are part of why I am glad I purchased Syncfusion.


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

This page will automatically be redirected to the 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