Skip to main content
All docs
V25.1
  • DeserializationSettings.EnableSafeDeserialization() Method

    This member is for advanced configuration. It supports the internal infrastructure, and is not intended to be used directly from your code.

    Namespace: DevExpress.Utils

    Assembly: DevExpress.Data.v25.1.dll

    NuGet Package: DevExpress.Data

    Declaration

    public static void EnableSafeDeserialization()

    Remarks

    DevExpress UI controls automatically detect potentially dangerous data types and block their deserialization. Controls throw an exception if they encounter an attempt to load a dangerous type. This usually happens when a control sends a client-server request, or loads its state/layout or similar data, such as stylesheets, from an external storage.

    Read the following topic for more information: Safe Deserialization.

    See Also