This is a migrated thread and some comments may be shown as answers.

Linked Reports

1 Answer 18 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jaymie
Top achievements
Rank 1
Jaymie asked on 15 Oct 2009, 10:29 AM
I currently have 2 reports that are bound to a DataSet. The first report has 3 parameters and is the full report, or master report if you like.
It shows a list of Products, along with other details.

The second report has 4 parameters, 3 of which are the same as the first report. The last parameter is the product code.

Basically, I want to use some sort of link on the product in the first report that will then pass it's parameters, along with the product to the second report and display the results in the report viewer with an option of returning to the previous report.

Is this possible or is there something you can suggest that will perform something similar?

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 15 Oct 2009, 04:06 PM
Hi Jaymie,

Unfortunately as noted in the Known limitations of Telerik Reporting forum thread, interactive features are not yet available. However if you are using the reports in a web application/site only, you should be able to achieve the desired behavior:

  1. Use the HtmlTextBox item and in the text that you need to be link, change the expression, so that it can be evaluated to a valid HTML hyperlink to another page with a report viewer. For example  ="<a href='Page2.aspx?MasterID=" + Fields.MasterID + "'>" + Fields.MasterData + "<\a>"
  2. Create Page2.aspx, containing a report viewer with your detailed report, and in the PageLoad event handler get the passed parameter in the request and set it to the report in the report viewer.
Hope this helps.
Regards,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Jaymie
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or