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.v23.2.Web.dll

NuGet Package: DevExpress.Web.Reporting.Common

Declaration

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

Type Parameters

Name
T

Remarks

To provide 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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RegisterWebDocumentViewerDrillThroughProcessor<T>() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also