Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ScriptPermissionManager.ScriptExecutionMode Property

Specifies the report script execution mode.

Namespace: DevExpress.XtraReports.Security

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

public ExecutionMode ScriptExecutionMode { get; }

#Property Value

Type Description
ExecutionMode

An ExecutionMode enumeration value.

Available values:

Name Description
Deny

Denies the execution of any scripts and disables the capability to invoke the Scripts editor in the Report Designer (by removing the Scripts toolbar button, along with a section listing script events of a control in the Properties window).

Unrestricted

Enables the execution of any script at your own risk.

Restricted

Obsolete. Enables the execution of scripts under the specified restrictions. To apply restrictions, it is required to enable the CAS policy option in the application’s configuration file.

#Remarks

See Scripts - Security Considerations for more information.

See Also