Skip to main content
A newer version of this page is available. .

WebDocumentViewerConfigurationBuilder.RegisterWebDocumentViewerDrillThroughProcessor<T>() Method

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

Namespace: DevExpress.AspNetCore.Reporting

Assembly: DevExpress.AspNetCore.Reporting.v19.1.dll

NuGet Package: DevExpress.AspNetCore.Reporting

Declaration

public WebDocumentViewerConfigurationBuilder RegisterWebDocumentViewerDrillThroughProcessor<T>()
    where T : class, IWebDocumentViewerDrillThroughProcessor

Type Parameters

Name Description
T

A custom SQL queries validation service that implements the ISqlDataSourceWizardCustomizationService interface.

Returns

Type Description
WebDocumentViewerConfigurationBuilder

A WebDocumentViewerConfigurationBuilder that can be used to further configure the Web Document Viewer services.

Remarks

To provide drill-through functionality to web reports, implement the IWebDocumentViewerDrillThroughProcessor interface. To use a custom drill-trough processor in your application, call the RegisterWebDocumentViewerDrillThroughProcessor method at the application startup.

using DevExpress.AspNetCore;
using DevExpress.AspNetCore.Reporting;
//... 

public class Startup {
//... 
    public void ConfigureServices(IServiceCollection services) {
        services.AddDevExpressControls();
        services.AddMvc(); 

        services.ConfigureReportingServices(configurator => {
            configurator.ConfigureWebDocumentViewer(viewerConfigurator => {
                viewerConfigurator.RegisterWebDocumentViewerDrillThroughProcessor<customProcessor>();
            });
        });        
    }
//...    
} 

Note

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

See Also