我在我的项目MVC3 asp.net中使用报表查看器来显示报表。有5个报告在运行时调用参数很少。当单击单个报告并等待时,报告正在完美查看,但是当我在2秒内点击两个报告时,两个报告都打开但两个报告相同,同时点击两个差异报告,两个报告链接也差异。
请帮我解决这个问题。
$assets = join("','",$asset);
public ActionResult ReportsViewer()
{
ReportViewer rptViewer = new ReportViewer();
rptViewer.ProcessingMode = ProcessingMode.Remote;
rptViewer.SizeToReportContent = false;
rptViewer.Width = Unit.Percentage(100);
rptViewer.EnableViewState = true;
rptViewer.AsyncRendering = false;
rptViewer.ServerReport.Timeout = 1800000;
rptViewer.ServerReport.ReportServerUrl=reportsDetail.ReportServer;
rptViewer.ServerReport.ReportPath =reportsDetail.ReportPath;
rptViewer.ServerReport.SetParameters(finalParam);
rptViewer.ServerReport.Refresh();
return View("~/ReportView.cshtml", rptViewer);
}