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

Save and Load TabbedMDI Persistence from a String

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

8 Replies

SU Surya February 20, 2007 05:57 PM UTC

Any Update on this ?


GR Golda Rebecal Syncfusion Team February 21, 2007 08:37 AM UTC

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


SU Surya February 21, 2007 03:10 PM UTC


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


MU Murugan Syncfusion Team February 21, 2007 11:53 PM UTC

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


MU Murugan Syncfusion Team February 21, 2007 11:54 PM UTC

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


AD Administrator Syncfusion Team February 22, 2007 01:59 PM UTC

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


MU Murugan Syncfusion Team February 22, 2007 05:18 PM UTC

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


SU Surya February 22, 2007 06:44 PM UTC

Thanks !!!

Loader.
Live Chat Icon For mobile
Up arrow icon