There is an ability to use master report. When the document using master template is generated, final document includes results of rendering of master template and document template. It allows you to create group of homogeneous reports.

To set master report, it is necessary to set its name in the Document.MasterReport property.

During rendering, template with the set name will be got through the IResolveSubReport interface. For example, master template with necessary name can be added to the same ReportManager initial template is added to.

When you create template used as a master one, it is necessary to add Content element to this template.

Master report template:

Generation of a document using master template is executed in the following way. Resulting report includes result of rendering of master template and Content element is substituted by the result of the initial report.

 Report Template   Report  
     

Add Feedback