Skip to main content

DefaultWebDocumentViewerContainer.RegisterWebDocumentViewerDrillThroughProcessor<T>() Method

Registers a custom drill-through processor in a web application.

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

Assembly: DevExpress.XtraReports.v25.1.Web.dll

NuGet Package: DevExpress.Web.Reporting.Common

Declaration

public static void RegisterWebDocumentViewerDrillThroughProcessor<T>()
    where T : IWebDocumentViewerDrillThroughProcessor

Type Parameters

Name
T

Remarks

Tip

In v23.2, we introduced a new design-time drill-through feature that does not require a custom drill-through processor. For more information, refer to the following help topic: Create Drill-Through Reports.

To add drill-through functionality to web reports, implement the IWebDocumentViewerDrillThroughProcessor interface.

To register a custom drill-through processor, call the DefaultWebDocumentViewerContainer.RegisterWebDocumentViewerDrillThroughProcessor<T> method at application startup:

protected void Application_Start(object sender, EventArgs e) {
    DevExpress.XtraReports.Web.WebDocumentViewer.DefaultWebDocumentViewerContainer.RegisterWebDocumentViewerDrillThroughProcessor<CustomDrillThroughProcessor>();
}

To process mouse events related to report elements on the client, handle the client-side ASPxClientWebDocumentViewer.PreviewClick event.

View Example: Web Reporting - How to create drill-through reports

See Also