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.

Save and Load TabbedMDI Persistence from a String

Thread ID:

Created:

Updated:

Platform:

Replies:

56751 Feb 20,2007 10:13 AM Feb 22,2007 01:44 PM Windows Forms 8
loading
Tags: Tools
Surya
Asked On February 20, 2007 10:13 AM

Hi:

I am trying to save and load TabbedMDI persistence info to a string using XML stream.
I could save the persistence info to a string
but could not apply the persistence by loading from it. I am dynamically creating forms based on an xml file "data.xml" which you'll find in the attached code.

Please review the attached sample and let me know the fix for it. I want the persistence info
to be saved to a string so that I can customize its use in my application.

Thanks
Surya


TabbedMDI Persistence-ToString.zip

Surya
Replied On February 20, 2007 12:57 PM

Any Update on this ?

Golda Rebecal [Syncfusion]
Replied On February 21, 2007 03:37 AM

Hi Surya,

Thanks for the sample.

I have modified the sample you have given so that the saved tabgroup states would be restored using LoadGroupStates() method.

Please have a look at it and let me know if you need any further assistance.

We appreciate your interest in Syncfusion products.

Best Regards,
Golda


TabbedMDI Persistence-ToString0.zip

Surya
Replied On February 21, 2007 10:10 AM


Hi Golda :

Thanks for your effort but unfortunately that is not what I want. Probably, I was not as clear
as it was required.

Here is what I want :

After form load:
(1) Click on Add tab to create new tabs
(2) Click on save,to save the positions of tabs
to a string.
(3) Next, change the tab positions by moving the tabs to new groups randomly
(4) Click on load : Now , the tabs should be arraged to the previously saved state.

Please forget about data.xml and dynamic creation of forms, I'll take care of them.

Thanks
Surya



>Hi Surya,

Thanks for the sample.

I have modified the sample you have given so that the saved tabgroup states would be restored using LoadGroupStates() method.

Please have a look at it and let me know if you need any further assistance.

We appreciate your interest in Syncfusion products.

Best Regards,
Golda


TabbedMDI Persistence-ToString0.zip

Murugan [Syncfusion]
Replied On February 21, 2007 06:53 PM

Hi Surya,

We are really sorry for the inconvenience caused. Herewith I have attached the modified sample. Please refer to this and let me know if it helps you.

TabbedMDIState

Than you for your patience.

Regards,
Murugan P.S

Murugan [Syncfusion]
Replied On February 21, 2007 06:54 PM

Hi Surya,

We are really sorry for the inconvenience caused. Herewith I have attached the modified sample. Please refer to this and let me know if it helps you.

TabbedMDIState

Thank you for your patience.

Regards,
Murugan P.S

Administrator [Syncfusion]
Replied On February 22, 2007 08:59 AM

Super !

So what was the problem in the previous code?

Thanks
Surya

>Hi Surya,

We are really sorry for the inconvenience caused. Herewith I have attached the modified sample. Please refer to this and let me know if it helps you.

TabbedMDIState

Thank you for your patience.

Regards,
Murugan P.S

Murugan [Syncfusion]
Replied On February 22, 2007 12:18 PM

Hi Surya,

Thanks for your update. The actual problem in your sample is the generation of XML string. The Stream is not properly converted as XML String. This is the cause of the issue.

Thank you for using Syncfusion support.

Regards,
Murugan P.S

Surya
Replied On February 22, 2007 01:44 PM

Thanks !!!

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.

;