settings not found in XBAP

2 posts, 0 answers
  1. Chris
    Chris avatar
    9 posts
    Member since:
    Feb 2011

    Posted 24 Jan 2014 Link to this post

    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

  2. Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 29 Jan 2014 Link to this post

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top