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

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.v20.2.Web.dll

NuGet Package: DevExpress.Web.Reporting.Common

Declaration

XtraReport CreateReport(
    DrillThroughContext context
)

Parameters

Name Type Description
context DrillThroughContext

A DrillThroughContext object.

Returns

Type Description
XtraReport

An XtraReport object.

Remarks

To provide drill-through functionality to web reports, implement the IWebDocumentViewerDrillThroughProcessor interface.

The CreateReport method accepts a DrillThroughContext object that provides 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.

For a code sample, see How to provide drill-through functionality to web reports.

See Also