I'm attempting to use the PersistenceFramework with a GridView control for the first time using the example shown here:
http://www.telerik.com/help/wpf/persistence-framework-getting-started.html
I'm importing the namespaces:
I have the StorageID set in my GridView:
I'm saving and loading grid when the app closes and loading the grid when it opens:
When LoadFromStorage() runs I get the error: "Token not valid"
Can someone please give me some idea what I've done wrong? This seems really simple in the example.
Using this method will save the grid settings between application uses correct?
Thank you for the help.
http://www.telerik.com/help/wpf/persistence-framework-getting-started.html
I'm importing the namespaces:
Imports Telerik.Windows.ControlsImports Telerik.Windows.PersistenceFrameworkImports Telerik.Windows.Persistence.StorageI have the StorageID set in my GridView:
<telerik:RadGridView Name="gvComp" telerik:StyleManager.Theme="Office_Black" AutoGenerateColumns="False" FrozenColumnCount="3" telerik:PersistenceManager.StorageId="gvComp_Layout" EditTriggers="CellClick,TextInput,CurrentCellClick" ShowColumnFooters="True" ShowGroupFooters="True" VerticalAlignment="Stretch">I'm saving and loading grid when the app closes and loading the grid when it opens:
Dim isoProvider As New IsolatedStorageProvider()isoProvider.SaveToStorage()Dim isoProvider As New IsolatedStorageProvider()isoProvider.LoadFromStorage()When LoadFromStorage() runs I get the error: "Token not valid"
Can someone please give me some idea what I've done wrong? This seems really simple in the example.
Using this method will save the grid settings between application uses correct?
Thank you for the help.