XtraReport.ValidateScripts() Method

Validates report scripts.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll

Declaration

public CompilerErrorCollection ValidateScripts()
Public Function ValidateScripts As CompilerErrorCollection

Returns

Type Description
CompilerErrorCollection

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