FlexReport for WinForms | ComponentOne
C1.Win.FlexReport.4.5.2 Assembly / C1.Win.FlexReport Namespace / C1FlexReport Class / IgnoreScriptErrors Property

In This Topic
    IgnoreScriptErrors Property (C1FlexReport)
    In This Topic
    Specifies whether the component should ignore script errors by default.
    Syntax
    'Declaration
     
    Public Property IgnoreScriptErrors As Boolean
    public bool IgnoreScriptErrors {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