Back to Devexpress

Callback State Protection

aspnetbootstrap-120358-project-configuration-web-config-options-callback-state-encryption.md

latest1.2 KB
Original Source

Callback State Protection

  • Sep 27, 2023

This option specifies whether the control state information passed to the client side is protected by encryption. Refer to the following help topic for more information: Callback State Encryption.

Declaration

xml
<configuration>
    ...
    <devExpress>
        ...
        <settings protectControlState="true" />
        ...
    </devExpress>
    ...
</configuration>

Note

You should register the DevExpress Web.config section to apply these settings to your project.

This option is enabled by default.

AJAX-enabled DevExpress web controls can coordinate their server and client-side representations by passing fragments of their state (callback state) to the client in response to client callbacks. This option allows you to specify whether or not the callback state should be encrypted.

DevExpress configuration section

Corresponding Class

SettingsConfigurationSection