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. Image for the cookie policy date
close icon

Docking control reposition using LoadDockState API for floating control

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

1 Reply

FS Fathima Shalini P Syncfusion Team June 2, 2008 04:04 AM UTC

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




Loader.
Live Chat Icon For mobile
Up arrow icon