IWebDocumentViewerDrillThroughProcessor.CreateReport(DrillThroughContext) Method
Creates a report that is the navigation target in the drill-through report.
Namespace: DevExpress.XtraReports.Web.WebDocumentViewer
Assembly: DevExpress.XtraReports.v25.2.Web.dll
NuGet Package: DevExpress.Web.Reporting.Common
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| context | DrillThroughContext | A DrillThroughContext object. |
Returns
| Type | Description |
|---|---|
| XtraReport | An XtraReport object. |
Remarks
Tip
In v23.2, we introduced a new design-time drill-through feature that does not require a custom drill-through processor. For more information, refer to the following help topic: Create Drill-Through Reports.
To add drill-through functionality to web reports, implement the IWebDocumentViewerDrillThroughProcessor interface.
The CreateReport method accepts a DrillThroughContext object that supplies information about related reports.
To register a custom drill-through processor, call the DefaultWebDocumentViewerContainer.RegisterWebDocumentViewerDrillThroughProcessor<T> method at the application startup.
To process mouse events related to report elements on the client, handle the client-side ASPxClientWebDocumentViewer.PreviewClick event.