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.
Syncfusion Feedback

Docking Manager Dockstate File v4.2.0.37

Thread ID:

Created:

Updated:

Platform:

Replies:

50796 Oct 19,2006 08:21 AM UTC Oct 26,2006 03:08 PM UTC Windows Forms 6
loading
Tags: Tools
Neil Blackburn
Asked On October 19, 2006 08:21 AM UTC

Hi,

I've attached a sample to illustrate our problem. If you run it and try to view the docked Tools menu it won't open. The dockstate is loaded from a file in the NewDockStateEndLoad event and saved in the form Closed event.
This can happen quite often and our current workaround is to delete the dockstate file. Is there something we can check for on startup and reset a property?

Using Syncfusion v4.2.0.37 with Visual Studio 2003 .NET v1.1.

Thanks for your help.
Neil Blackburn

FrontOffice.zip

Murugan [Syncfusion]
Replied On October 19, 2006 02:36 PM UTC

Hi Neil,

Herewith I have attached the modified sample for your reference. Please go through the sample and let me if the issue is resolved.
FrontOffice.zip

Thanks for choosing Syncfusion products.

Best Regards,
Murugan P.S

Neil Blackburn
Replied On October 20, 2006 10:57 AM UTC

Hi,

Thanks for the quick response and code change. It does fix the problem when we use v4.2.0.37.

However the previous version of our product uses v3.3 and I can still reproduce the problem. Is v3.3 still supported?

Regards,
Neil Blackburn

Neil Blackburn
Replied On October 23, 2006 10:55 AM UTC

Hi,

I've managed to create a sample which replicates the problem in v3.3. I hope you can provide me with a workaround in this version also.

Thanks,
Neil Blackburn

FrontOfficeUsingv3.3.zip

Murugan [Syncfusion]
Replied On October 25, 2006 03:16 PM UTC

Hi Neil,

Please delete the files from
1.C:\Documents and Settings\your name\Local Settings\Application Data\IsolatedStorage
2.FrontOffice\FrontOffice\bin folder
and let me know if the issue is resolved.

Thanks,
Murugan P.S

Neil Blackburn
Replied On October 26, 2006 10:09 AM UTC

Hi,

Yes it resolves the problem, we already tell our clients to delete the xml file as a workaround.

As the problem occurs regularly is there anything I can put in the code to trap for this and reset something?

Thanks,
Neil Blackburn

Murugan [Syncfusion]
Replied On October 26, 2006 03:08 PM UTC

Hi Neil,

Please use the code below and let me know if the issue is resolved.

private void Form1_Closed(object sender, System.EventArgs e)
{
FileInfo fi = new FileInfo( Application.StartupPath + @"\test~dockstate" );
if ( fi.Exists )
{
fi.Delete();
}
AppStateSerializer serialiser;
serialiser = new AppStateSerializer(SerializeMode.XMLFile, Application.StartupPath + @"\test~dockstate" );
dockingManager1.SaveDockState( serialiser );
serialiser.PersistNow();
}

Thanks,
Murugan P.S

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.

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

;