Dynamic ServerReport from variable SubReports Rendered for Web RRS feed

  • Question

  • Using server reports over the web, I'd like to dynamically merge subreports into one serverreport for display in the Report Viewer.  The subreports are assigned per client (report/query parameter).  I also have the requirement to ensure each subreport page breaks in the PDF export.  Possible? 


    From what I've read it seems you can stream in a single, then load it into the LoadReportDefinition() method, but haven't seen examples of how to accomplish this merging several serverreports into one master over webforms.


    Currently, I'm loading a single rdl with this...


    Code Snippet

    ReportViewer1.Visible = true;

    ReportViewer1.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote;

    ReportViewer1.ServerReport.ReportServerUrl = new Uri(ConfigHelper.GetSettingAsString("ReportingServicesURL"));

    ReportViewer1.ServerReport.ReportPath = ConfigHelper.GetSettingAsString("ReportingServicesPath") + "/" + report.SSRSName;

    ReportViewer1.ServerReport.Timeout = 1000;





    Thursday, February 7, 2008 5:43 PM