ReportsControllerCore Class

An ObjectViewController that provides the ReportsControllerCore.ExecuteReportAction used to execute reports.

Namespace: DevExpress.ExpressApp.ReportsV2

Assembly: DevExpress.ExpressApp.ReportsV2.v18.2.dll

Declaration

public abstract class ReportsControllerCore :
    ReportDataViewController
Public MustInherit Class ReportsControllerCore
    Inherits ReportDataViewController
    Implements

Remarks

Activated in List Views that display IReportDataV2 objects.

The ReportsControllerCore.ExecuteReportAction introduced in this abstract Controller is initialized in the platform-specific descendants - WinReportsController and WebReportsController.

The ReportsControllerCore Controller modifies the default behavior of the ListViewProcessCurrentObjectController. It handles the ListViewProcessCurrentObjectController.CustomProcessSelectedItem event in order to execute the current report when a report object is clicked in List View instead of opening the report data Detail View.

The ReportsControllerCore Controller contains the protected virtual ShowReportPreview method that displays the preview of the selected report. This method is called on executing the ReportsControllerCore.ExecuteReportAction. Internally, this method calls the ReportServiceController.ShowPreview method of the ReportServiceController Controller.

See Also