Skip to main content

XtraReport.ValidateScripts() Method

Validates report scripts.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v23.1.dll

NuGet Package: DevExpress.Reporting.Core


public CompilerErrorCollection ValidateScripts()


Type Description

A CompilerErrorCollection object, representing a collection of compiler errors or warnings.


When scripts are written for a report or any of its elements (bands or controls), they can all be easily accessed in the Scripts tab (both at design time within Visual Studio, and in the End-User Report Designer).

Scripting - ScriptsEUD_1

In this tab, clicking the Validate button triggers the ValidateScripts method to check the compilability of all the existing scripts.

To learn more, refer to Scripting Overview.

See Also