DefaultWebDocumentViewerContainer.RegisterWebDocumentViewerDrillThroughProcessor<T>() Method

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

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

Assembly: DevExpress.XtraReports.v20.2.Web.dll

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: How to provide drill-through functionality to web reports

See Also