Kochkin / Reporting_how-to-provide-drill-through-functionality-to-web-reports-t483368

.NET, ASP.NET Web Forms, XtraReports Suite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Files to look at:

How to provide drill-through functionality to web reports

This example illustrates how to provide navigation between different reports so that clicking an element in the main report opens another report in the same Web Document Viewer instance.

To do this, implement the IWebDocumentViewerDrillThroughProcessor interface. In its CreateReport method, pass a DrillThroughContext instance and use its CustomData property to specify the navigation logic.

In this example, the CustomData value is compared against the NavigateUrl property values of report elements acting as links to open other reports.

To register a custom drill-through processor, call the RegisterWebDocumentViewerDrillThroughProcessor method of the DefaultWebDocumentViewerContainer class at the application startup.

Handle the client-side PreviewClick event of the Document Viewer to process mouse events related to report elements.


About

.NET, ASP.NET Web Forms, XtraReports Suite

License:Other


Languages

Language:C# 76.4%Language:ASP 23.6%