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

PersistenceManager Lost Storages

1 Answer 62 Views
PersistenceFramework
This is a migrated thread and some comments may be shown as answers.
Jose
Top achievements
Rank 1
Jose asked on 11 Oct 2011, 06:00 PM
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.

1 Answer, 1 is accepted

Sort by
0
Alex Fidanov
Telerik team
answered on 14 Oct 2011, 08:39 AM
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 >>

Tags
PersistenceFramework
Asked by
Jose
Top achievements
Rank 1
Answers by
Alex Fidanov
Telerik team
Share this question
or