protected void Page_Init(object sender, EventArgs e) { if (!IsPostBack) { ReportDocument doc = (ReportDocument)Session["ReportView"]; doc.SummaryInfo.ReportTitle = ((ReportDocument)Session["ReportView"]).SummaryInfo.ReportTitle;//"MyVeryOwnExportFile"; CrystalReportViewer1.ReportSource = doc; CrystalReportViewer1.BestFitPage = false; } else { ReportDocument doc = (ReportDocument)Session["ReportView"]; doc.SummaryInfo.ReportTitle = "MyVeryOwnExportFile"; CrystalReportViewer1.ReportSource = doc; } }
CrystalReportViewer1.ID="downloaded file name";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)