Completed
Last Updated: 31 May 2022 14:06 by ADMIN
Release LIB 2022.2.606 (06 June 2022)
When a FilterDescriptor with a distinct value of " " is saved, loading it changes it to "".
Completed
Last Updated: 01 Feb 2021 09:58 by ADMIN

When loading a project, an ArgumentOutOfRangeException exception is thrown while AllowCrossVersion is set to true, and we have a namespace that contains a Telerik string.

The workaround here would be to avoid using the Telerik string in your namespace, project, files.

Declined
Last Updated: 17 Dec 2020 13:31 by ADMIN
Created by: Simone
Comments: 1
Category: PersistenceFramework
Type: Bug Report
0

Hi,

I'm using the PersistenceManager class to serialize/deserialize GridView but an excpetion throw.

"Exception thrown at 0x74994622 in SPEA.Semi.Engineering.exe: Microsoft C++ exception: EEFileLoadException at memory location 0x004FC49C."

Completed
Last Updated: 18 Feb 2020 14:29 by ADMIN
Release R1 2020 SP1

Here is an example exception: Types 'Telerik.Windows.Diagrams.Core.SelectionMode' and 'System.Windows.Controls.SelectionMode' both use the XML type name, 'SelectionMode', from namespace ''. Use XML attributes to specify a unique XML name and/or namespace for the type.

As a workaround, you can exclude the property with the repeating name as demonstrated in Example 4 in the following article: Serialization Options

Unplanned
Last Updated: 23 Jul 2019 06:50 by ADMIN

 

RadRichTextBox (RTB) is used in MainWindow and no other controls are used.

Saving the RTB with PersistenceFramework results in endless loop of saving RTB dialogs and its template parts.

This results in StackoverflowException.

EDIT:

Option 1 for workaround

<telerik:RadRichTextBox x:Name="rtb" >
            <telerik:PersistenceManager.SerializationOptions>
                <telerik:SerializationMetadataCollection>
                    <telerik:PropertyNameMetadata Condition="Except" Expression="Dialog" SearchType="PropertyName" />
                </telerik:SerializationMetadataCollection>
            </telerik:PersistenceManager.SerializationOptions>
        </telerik:RadRichTextBox>

 

Option 2 for workaround

            PersistenceManager manager = new PersistenceManager();
            manager.PropertyPersisting += (o, ea)=>
            {
                if (!string.IsNullOrEmpty(ea.Name))
                {
                    if (ea.Name.Contains("Dialog"))
                    {
                        ea.Cancel = true;
                    }
                }
            };

            IsolatedStorageProvider isoProvider = new IsolatedStorageProvider(manager);            
            isoProvider.SaveToStorage(PersistenceManager.GetStorageId(this.rtb));

Won't Fix
Last Updated: 23 Jan 2019 09:05 by ADMIN
The Expression property of the PropertyNameMetadata is used as a base for a Regex that is run against the property names of the object that is being serialized. Therefore, you should consider it a regex expression and set its value as in the following example:
- to match only the property "Width" - use the expression "^\b(Width)\b$", without the quotes.
- to match the "Width", "MinWidth" and "MaxWidth" - use the expression "Width", without the quotes.
Unplanned
Last Updated: 04 Apr 2017 06:50 by ADMIN
The PersistenceFramework should be aware if any new UIElements are added to a layout it persists.
Unplanned
Last Updated: 30 Mar 2017 11:11 by John
PersistenceFramework does not persist property of type byte[] in CustomPropertyProvider scenario.

Use List<byte> as a workaround if applicable.
Unplanned
Last Updated: 31 Jan 2017 07:21 by ADMIN
ADMIN
Created by: Telerik Admin
Comments: 0
Category: PersistenceFramework
Type: Feature Request
2
Info for the root object needed in PErsistenceError event
Unplanned
Last Updated: 04 Jan 2017 07:34 by ADMIN
ADMIN
Created by: Kiril Vandov
Comments: 0
Category: PersistenceFramework
Type: Bug Report
0
Does not save correctly \r\n entries. When we load the stored date only "\n" is returned and the \r is lost.
Completed
Last Updated: 11 Aug 2016 14:05 by ADMIN
Add SaveToStorage method to the IsolatedStorageProvider that takes as parameters a list of the StorageIds to be saved.
Completed
Last Updated: 24 Sep 2015 10:45 by Radoslav
Will be available in Q3 2015 Release.
Completed
Last Updated: 15 May 2015 12:16 by andrizu
A first chance exception of type System.IO.FileNotFoundException is thrown by the IsolatedStoragetProvider when calling its SaveToStorage() method. 

Note: the exception does not prevent the manager from saving the UI. To see the error you will need to enable the CLR exceptions from the Visual Studio's Debug-->Exceptions menu


Available in LIB version: 2015.1.1805
Completed
Last Updated: 07 May 2015 12:50 by Zeshan
ADMIN
Created by: Kiril Vandov
Comments: 1
Category: PersistenceFramework
Type: Feature Request
2
Calling GetIsolatedStoreOverride returns a wrong Isolated storage.

Available in LIB version: 2015.1.1105
Completed
Last Updated: 03 Jun 2014 08:17 by ADMIN
ADMIN
Created by: Tina Stancheva
Comments: 2
Category: PersistenceFramework
Type: Feature Request
1
Extend the PersistenceFramework to load the persisted settings of an earlier version of an application.
Completed
Last Updated: 02 Jun 2014 14:48 by Jeff
ADMIN
Created by: Zarko
Comments: 4
Category: PersistenceFramework
Type: Bug Report
2
The XmlSerializer constructor generates a new assembly every time you save your layout and this causes performance and memory issues.