This is a migrated thread and some comments may be shown as answers.

Persist only the layout of my dialog

1 Answer 65 Views
PersistenceFramework
This is a migrated thread and some comments may be shown as answers.
Oliver
Top achievements
Rank 1
Oliver asked on 02 Oct 2012, 01:47 PM
Hi,

with the PersistenceFramework, I would like to know if it's possible to persist only the layou of my control, not the dat inside of it?

Thank's

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 05 Oct 2012, 02:29 PM
Hello Oliver,

You can use the PersistenceManager.SerializationOptions property to describe the properties that you'd like to persist. The collection can also be used to exclude certain properties from the default list of persisted properties. This is why in your case you can set it up to exclude the Content property of your control. Please take a look at this tutorial for further information and let us know if you have more questions.

Regards,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
PersistenceFramework
Asked by
Oliver
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or