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.
Handle the client-side PreviewClick event of the Document Viewer to process mouse events related to report elements.