[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Viewer.Wpf.Viewer.HandleError

HandleError Method

HandleError(Exception)

Handles runtime error on the viewer.

Declaration
public void HandleError(Exception ex)
Parameters
Type Name Description
Exception ex

The error that occurred.

Remarks

This method is intended to centralize error handling within the viewer control.

Examples
var viewer = new Viewer();
// Example of handling an error that might occur during document loading.
try
{
    viewer.LoadDocument("path/to/your/report.rdlx");
}
catch (Exception ex)
{
    viewer.HandleError(ex);
}