Provides information about drill-through navigation.
You can click on the report data displayed in the Document Viewer or in the Report Designer Preview to show another report with related data (drill-through).
You can implement drill-through navigation in a web application as follows:
Create an object that implements the IWebDocumentViewerDrillThroughProcessor interface. The IWebDocumentViewerDrillThroughProcessor.CreateReport method accepts the DrillThroughContext object, which contains custom data related to the clicked element (the DrillThroughContext.CustomData property), and provides access to the displayed report.
Call one of the following methods at application startup to register a custom drill-through processor:
ASP.NET MVC ASP.NET Core DefaultWebDocumentViewerContainer.RegisterWebDocumentViewerDrillThroughProcessor<T> WebDocumentViewerConfigurationBuilder.RegisterWebDocumentViewerDrillThroughProcessor<T>
To get data related to the element being clicked, handle the client-side PreviewClick event.
The complete sample project is available in the following DevExpress Examples repository on GitHub: How to provide drill-through functionality to web reports.