XtraReport.ValidateScripts() Method
Validates report scripts.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v23.1.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
Returns
Type | Description |
---|---|
CompilerErrorCollection | A CompilerErrorCollection object, representing a collection of compiler errors or warnings. |
Remarks
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).
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.