The requested page is not available for the requested platform. You are viewing the content for Default platform.

WebDocumentViewerConfigurationBuilder.RegisterWebDocumentViewerDrillThroughProcessor<T>() Method

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

Namespace: DevExpress.AspNetCore.Reporting

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

Declaration

public WebDocumentViewerConfigurationBuilder RegisterWebDocumentViewerDrillThroughProcessor<T>()
    where T : class, IWebDocumentViewerDrillThroughProcessor
Public Function RegisterWebDocumentViewerDrillThroughProcessor(Of T As {Class, IWebDocumentViewerDrillThroughProcessor}) As WebDocumentViewerConfigurationBuilder

Returns

Type Description
WebDocumentViewerConfigurationBuilder

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

Type Parameters

Name Description
T

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

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