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.
Unfortunately, activation email could not send to your email. Please try again.

Docking control reposition using LoadDockState API for floating control

Thread ID:

Created:

Updated:

Platform:

Replies:

74124 May 30,2008 06:40 AM Jun 2,2008 12:04 AM Windows Forms 1
loading
Tags: Tools
Sachin Saxena
Asked On May 30, 2008 06:40 AM

hi,
We are using SaveDockState as a XML file for docking control. It works fine while control is docked in boundries. If docking control is in float state then on LoadDockState method do not load the control on correct position.
can you explain the way we could resolved the issue.

Thanks

///
/// This method will Load the Save state of the dock.
///

public void LoadDockState(string fileName, Control ctrl)
{
AppStateSerializer aser = new AppStateSerializer(SerializeMode.XMLFile, fileName);
dockingManager.LoadDockState(aser, ctrl);
}

///
/// Save applicatiions current Docking State
///

public void SaveDockState(string fileName, Control ctrl)
{
AppStateSerializer aser;
aser = new AppStateSerializer(Syncfusion.Runtime.Serialization.SerializeMode.XMLFile, fileName);
dockingManager.SaveDockState(aser, ctrl);
aser.PersistNow();
}

please find more details in attached file



docking_2ec5622d.zip

Fathima Shalini P [Syncfusion]
Replied On June 2, 2008 12:04 AM

Hi,

Thank you for your interest in Syncfusion Products.

LoadDockState(AppStateSerializer, Control) and SaveDockState(AppStateSerializer, Control) are not persisting the float control correctly

We suspect this issue to be a defect. We have send this to our developers for more analysis. We will update you on or before June 3rd 2008.

Please let me know if any concerns.

Regards,
Fathima




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.

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.

;