Hello everyone,
I have a website that calls a server side generated report, in function of some check-boxes selected. These reports are mainly exported in Excel. Each check-box selected should be a document map in the report and has to be a different sheet in the excel export.
For example there are 3 check-boxes:
- Generate report A
- Generate report B
- Generate report C
When the check-boxes A and C are checked, it generates a report with Document map: A & C and while exporting in Excel, it creates the sheets : A & C.
How does the report know what report to generate: A String parameter is sent to the report, for this example the String "A,C" is sent, and so the report knows that those 2 reports have to be generated.
I searched the several methods to do that :
1) Report Book
The report book is great. It creates a Document map and a excel sheet for each document map. But the problem is that it is not possible to work with the report parameters in the report book. So I cannot parse the String "A,C" that is sent to the report. The reports added to the Book are "static" and cannot be added dynamically.
2) Master - Sub reports
This generates a document map and it is possible to work with the report parameters in the master report. The master report parses the parameter "A,C" and knows that it has to generate those 2 reports . But the problem in that solution is that it doesn't create several sheets in excel; it puts all on the same page.
Is there a third solution I didn't think of? How can I generate dynamically reports and having excel sheets? Do I have to create a report book for each combination of the check-boxes? A, B, C, AB, AC, BC, ABC ; and choose on the client side which Report-book has to be called? But that would make a lot of work.
Is it possible to have a master-sub report with several excel sheets? I don't think so, because it is one master-report; so, one sheet.
Thanks a lot,
Raphael
PS: I am using the version Q3 2011 SP1 of Telerik Report
I have a website that calls a server side generated report, in function of some check-boxes selected. These reports are mainly exported in Excel. Each check-box selected should be a document map in the report and has to be a different sheet in the excel export.
For example there are 3 check-boxes:
- Generate report A
- Generate report B
- Generate report C
When the check-boxes A and C are checked, it generates a report with Document map: A & C and while exporting in Excel, it creates the sheets : A & C.
How does the report know what report to generate: A String parameter is sent to the report, for this example the String "A,C" is sent, and so the report knows that those 2 reports have to be generated.
I searched the several methods to do that :
1) Report Book
The report book is great. It creates a Document map and a excel sheet for each document map. But the problem is that it is not possible to work with the report parameters in the report book. So I cannot parse the String "A,C" that is sent to the report. The reports added to the Book are "static" and cannot be added dynamically.
2) Master - Sub reports
This generates a document map and it is possible to work with the report parameters in the master report. The master report parses the parameter "A,C" and knows that it has to generate those 2 reports . But the problem in that solution is that it doesn't create several sheets in excel; it puts all on the same page.
Is there a third solution I didn't think of? How can I generate dynamically reports and having excel sheets? Do I have to create a report book for each combination of the check-boxes? A, B, C, AB, AC, BC, ABC ; and choose on the client side which Report-book has to be called? But that would make a lot of work.
Is it possible to have a master-sub report with several excel sheets? I don't think so, because it is one master-report; so, one sheet.
Thanks a lot,
Raphael
PS: I am using the version Q3 2011 SP1 of Telerik Report