XtraReports Web Viewer not loading Parameters Popup

Posted by Jan de Jager on Stack Overflow See other posts from Stack Overflow or by Jan de Jager
Published on 2010-03-10T15:45:24Z Indexed on 2010/03/15 13:09 UTC
Read the original article Hit count: 703

Filed under:
|
|

So were loading a a report from a saved file (this seems to not be the general way to do things), but the report viewer refuses to initialise the parameters popup. WTF!!!

Here's the code:

protected void Page_Load(object sender, EventArgs e)
{
  string ReportName = Request["ReportName"];
  XtraReport newReport = CreateReportFromFile(ReportName);
  newReport.RequestParameters = true;
  ReportViewerControl1.Report = newReport;
}

private XtraReport CreateReportFromFile(string filePath)
{
  XtraReport report = new XtraReport();
  report = XtraReport.FromFile(filePath, true);
  return report;
}

© Stack Overflow or respective owner

Related posts about xtrareport

Related posts about web