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

settings not found in XBAP

1 Answer 19 Views
PersistenceFramework
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 24 Jan 2014, 11:06 PM
Hi,

    I am working on a Xbap application with the PersistenceFramwork (the latest version of WPF controls). It all work fine when I have only single xbap page, but if i have multiple pages in same application, it fails.

    After I assigned different page to the "Mainwindow.Content" and try to find those settings that I stored in previous page, it always return 0. But if I go back to previous page, I do get those settings.

    How can I retrieve those settings in different pages?

Code that I used:

  Dim m_isoStorageProvider As New Telerik.Windows.Persistence.Storage.IsolatedStorageProvider()
        Dim arrStorageFiles As New List(Of String)
        arrStorageFiles.Add("GridView1")
        arrStorageFiles.Add("GridView2")
        m_isoStorageProvider.LoadFromStorage(arrStorageFiles.ToArray)


Thanks
Chris

1 Answer, 1 is accepted

Sort by
0
Zarko
Telerik team
answered on 29 Jan 2014, 01:56 PM
Hello Chris,
As far as we've tested the PersistenceFramwork works with multiple pages and because we weren't able to reproduce your issue I'd like to ask you for a sample project demonstrating it.
We're looking forward to hearing from you.

Regards,
Zarko
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
PersistenceFramework
Asked by
Chris
Top achievements
Rank 1
Answers by
Zarko
Telerik team
Share this question
or