Quantcast
Viewing all articles
Browse latest Browse all 1507

How to add the subreport dynamically to the main report last page


Hi,
we have a main report with multiple sub reports, now i need to add the sub report to the main report last page based on conditions .
using bellow code i am able to add the sub report but it is showing small part in first page fotter.

please help me to come out  the poblem.

left = 10;
top = 10;
height = 500;
width = 500;

reportDocument.ReportClientDocument.SubreportController.ImportSubreportEx("Test", @"D:\Software Developement Team Data\Developement Apps\QMSNewDesign_05112012\QMSNewDesign_102_Development\CrystalReport\CRPolicyTerrorism.rpt", reportDocument.ReportClientDocument.ReportDefController.ReportDefinition.PageFooterArea.Sections[0], left, top, width, height);

CrystalReportViewer1.ReportSource = reportDocument;

CrystalReportViewer1.DataBind();

thanks

hemanth


Viewing all articles
Browse latest Browse all 1507

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>