PersistenceManager Lost Storages

2 posts, 0 answers
  1. Jose
    Jose avatar
    1 posts
    Member since:
    Oct 2011

    Posted 11 Oct 2011 Link to this post

    Hello,
    I am working with PersistenceFramework saving the data in SQL Server.
    The issue is that my application works with tabs and MVVM. The MainWindow contains a ribbon and a rabTabControl, when the user clicks on a button opens a tab with a given user control depending on the button clicked.
    When working with only one tab, everything works ok!
    But when I open different tabs and navigate between them, saving the stream of my control, I realize that 
    PersistenceManager.GetStorage()
    is empty.

    They know that may be happening?

    Thank you in advance and sorry for my English.
  2. Alex Fidanov
    Admin
    Alex Fidanov avatar
    636 posts

    Posted 14 Oct 2011 Link to this post

    Hello Jose,

    It sounds like your issue is similar to the one logged here. If that is the case, then setting the IsContentPreserved property of the RadTabControl should be able to solved this, as the objects will not be unloaded when the tab is changed. Please let me know if that is the case in your scenario.

    Kind regards,
    Alex Fidanov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top