Specifies whether the component should ignore script errors by default.

Namespace:  C1.C1Report
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
[DefaultValueAttribute(true)]
public bool IgnoreScriptErrors { get; set; }
Visual Basic
<DefaultValueAttribute(True)> _
Public Property IgnoreScriptErrors As Boolean
	Get
	Set

Remarks

When the script interpreter finds an error in a script or expression, the component raises the ReportError event. This property specifies the default value for the Handled parameter in that event.

If IgnoreScriptErrors is set to true, script errors are ignored by default (the Handled parameter is initialized to true).

If IgnoreScriptErrors is set to false, script errors throw exceptions by default (the Handled parameter is initialized to false).

In either case, the ReportError event handler may override the default by changing the value of the Handled parameter.

See Also