Persist only the layout of my dialog

2 posts, 0 answers
  1. Oliver
    Oliver avatar
    263 posts
    Member since:
    Feb 2011

    Posted 02 Oct 2012 Link to this post


    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?

  2. Tina Stancheva
    Tina Stancheva avatar
    3298 posts

    Posted 05 Oct 2012 Link to this post

    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.

    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft R3 2016 release webinar banner
Back to Top