In Design view, right-click a report item to which you want to add a drill-through action and then click Properties.
In the item's Properties dialog box, click Action.
Select Navigate to Report. Additional section appears which allows you to select a ReportSource.
In the Choose a Report Source dialog, select how you would navigate to the report, For this example we would use Type Report Source, click that option and select the report that you would like to navigate to.
If you have to specify parameters for the drillthrough report, follow the next step.
Click Edit Parameters button - Edit Parameters dialog appears. Click New. In the Parameter Name column select the name of the report parameter in the drillthrough report. In the Parameter Value, type or select the value to pass to the parameter in the drillthrough report.
Telerik.Reporting.TypeReportSource reportSource = new Telerik.Reporting.TypeReportSource(); reportSource.TypeName = "ReportLibrary1.Report1, ReportLibrary1, Version=184.108.40.206, Culture=neutral, PublicKeyToken=null"; reportSource.Parameters.Add(new Telerik.Reporting.Parameter("OrderNumber", "SO43659")); Telerik.Reporting.NavigateToReportAction reportAction1 = new Telerik.Reporting.NavigateToReportAction(); reportAction1.ReportSource = reportSource; textBox1.Action = reportAction1;
Dim reportSource As New Telerik.Reporting.TypeReportSource() reportSource.TypeName = "ReportLibrary1.Report1, ReportLibrary1, Version=220.127.116.11, Culture=neutral, PublicKeyToken=null" reportSource.Parameters.Add(New Telerik.Reporting.Parameter("OrderNumber", "SO43659")) Dim reportAction1 As New Telerik.Reporting.NavigateToReportAction() reportAction1.ReportSource = reportSource textBox1.Action = reportAction1
The Standalone Report Designer includes only XmlReportSource and UriReportSource options due to the format of the produced reports. In Visual Studio Report Designer you can use all available Report Sources.
If the report will be displayed in an HTML5 Viewer or Silverlight ReportViewer, the main report is rendered in HTML (XAML respectively) and it is loaded at the client. The rendered content contains a link rendered for the NavigateToReportAction, that will not be valid and working if the target report is specified via InstanceReportSource or XmlReportSource.