FlexReport for WinForms | ComponentOne
C1.Win.FlexReport.4.5.2 Assembly / C1.Win.FlexReport Namespace / C1FlexReport Class / OnReportError Method
The number of page (one-based) where error occurs.
The occured exception.
Indicates whether the component should throw the exception that was detected or whether it should ignore the error and continue rendering the report.

In This Topic
    OnReportError Method (C1FlexReport)
    In This Topic
    Raises the ReportError event.
    Syntax
    'Declaration
     
    Protected Overridable Function OnReportError( _
       ByVal pageNo As Integer, _
       ByVal exception As Exception, _
       ByVal fatal As Boolean _
    ) As Boolean
    protected virtual bool OnReportError( 
       int pageNo,
       Exception exception,
       bool fatal
    )

    Parameters

    pageNo
    The number of page (one-based) where error occurs.
    exception
    The occured exception.
    fatal
    Indicates whether the component should throw the exception that was detected or whether it should ignore the error and continue rendering the report.

    Return Value

    Returns false if report rendering should be stopped false otherwise.
    See Also