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

mixed layout in report book

4 Answers 53 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
james fang
Top achievements
Rank 1
james fang asked on 20 Jan 2010, 11:30 PM

Hi,

I have a question regarding generate mixed layout report for a testing project.

In this example, sample A tests against B1, B2, B3, B4..... Each pair’s report shall look like the attached file. Each report page header shall be the pair in test.

My question is how to export one report including all the pairs’ reports in the order A-B1, A-B2,A-B3,A-B4 as the same layout as the attached file?

Currently I am using the report book which includes two reports (one for all the pairs' test results, one for all the pairs' test images)

 

4 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 21 Jan 2010, 03:04 PM
Hello James,

I am afraid that we did not get a clear idea of what you are aiming at. The purpose of the Report Book feature is very simple - to combine several reports into one document. If you have 4 reports A, B1, B2 and B3 and you want to achieve a final document like so A-B1, A-B2 and A-B3, then it is clear that you should add report A 3 times in the same order as the pair you've listed.
If this is not what you need, please elaborate on your example so that we can advise you accordingly.

Sincerely yours,
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.
0
james fang
Top achievements
Rank 1
answered on 21 Jan 2010, 04:33 PM

Hi, Steve,

 

In the attached sample report (Device A tests against Device B), the report head including the pair name (Device A, Device B such as B1, B2, B3…). The report of this pair consists of test results and some test images.

 

The number of B is dynamic (could be 5, 10, or 50 etc)

 

 

For a single pair report (A tests against B1), I can do it with a report book, which combines two single reports (one with the test results and one with the test images) together to get it exactly as the attached sample file.

 

 

My question is:

 

In the report viewer, if I select the parameter: Device A, How can I get all the reports (A-B1, A-B2, A-B3, etc) all together?

 

 

Thanks,

 

James

 

 

 

 

 

 

0
Massimiliano Bassili
Top achievements
Rank 1
answered on 22 Jan 2010, 04:34 PM
I would do this through external control on the same page as the viewer e.g. a dropdown list. Whenever the user selects Device A, all needed reports (A-B1, A-B2, A-B3, etc) would be added to a report book:

ReportBook reportBook = new ReportBook();
reportBook.Reports.Add(
new ReportA-B1());
reportBook.Reports.Add(
new ReportA-B2());
reportBook.Reports.Add(new ReportA-B3());
....
reportBook.Reports.Add(new ReportA-Bx());

My 2 cents
0
james fang
Top achievements
Rank 1
answered on 22 Jan 2010, 07:00 PM
In my case, the report A-B1 is already a report book combining two different layout reports. Does this way still work?

thanks,

James
Tags
General Discussions
Asked by
james fang
Top achievements
Rank 1
Answers by
Steve
Telerik team
james fang
Top achievements
Rank 1
Massimiliano Bassili
Top achievements
Rank 1
Share this question
or