The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
I have a problem with the docking manager. I do a SaveState() and LoadState() to persist Docking information. It works most of the time but sometimes when i load the app all the docked controls appear but are docked in different positions. Any reply is appreciated. Thanks
This is the code I''''m using and my Syncfusion version is 2.1.0.9
While loading (Constructor)
AppStateSerializer.InitializeSingleton(SerializeMode.XMLFile, DEFAULT_SAVEDOCKINFO_FILE );
this.m_DockManager.LoadDockState();
While closing
this.m_DockManager.SaveDockState();
ADAdministrator Syncfusion Team June 28, 2005 06:27 PM UTC
Hi Dan,
I believe this was a problem specific to v2.1.0.9 that has been corrected since. LoadDockState and SaveDockState function correctly in our current release, v3.2.1.0.
Regards,
Gregory Austin
Syncfusion Inc.
MWMike WittJuly 6, 2005 05:06 PM UTC
Hi Gregory,
Thanks for your reply. I''m not totally sure that we are both talking about the same thing. So, I''ve attached some powerpoint slides to show some screen shots.
Thanks again, Mike
docking-issue_992.zip
MWMike WittJuly 7, 2005 01:49 PM UTC
Sorry ... replied to the wrong post!
PIPinoSeptember 29, 2005 03:27 PM UTC
I''m working on the v3.2.1 but this problem is still there, any solution??
Regards
Pino
>Hi Dan,
>
> I believe this was a problem specific to v2.1.0.9 that has been corrected since. LoadDockState and SaveDockState function correctly in our current release, v3.2.1.0.
>
>Regards,
>Gregory Austin
>Syncfusion Inc.
VSVijayanand S Syncfusion Team September 29, 2005 03:49 PM UTC
Hi Pino,
This issue has been reported by some customers but we have not been able to trace the issue. The recommended alternative is to persist to a file
//Load the saved dock state Docking Manager NewDockStateEndLoad event
//Serializing.
if(!initialized)
//Just to make sure that LoadDockState does not go into a loop.
{
initialized = true;
//De-Serializing. Make sure it doesnt go into an infinite loop when used in NewDockStateEndLoad event handler.
AppStateSerializer aser = new AppStateSerializer(SerializeMode.XMLFile,"DockState");
this.dockingManager1.LoadDockState(aser);
}
private void Form1_Closing(object sender, System.ComponentModel.CancelEventArgs e)
{
AppStateSerializer aser = new AppStateSerializer(SerializeMode.XMLFile,"DockState");
this.dockingManager1.SaveDockState(aser);
aser.PersistNow();
}
Please let me know if you have any questions.
Thanks for your patience.
Regards,
Vijay