0
votes

I am able to display the report on web browser.My problem is, when I use the toolbar(such as export button,print button,find button and so on) of crystal report I am facing the parameter missing error over web browser.Please help me how to shut out this issue in asp.net platform by using c#. Thanks in Advance.

1
Post some code-behind of your page, pleaseEmanuele Greco

1 Answers

0
votes

You need to store/persist your reportdocument object in session variables

if (!Page.IsPostBack)
{
   rpt = new ReportDocument();
   Session["report"] = rprt;    // store the report in the Session
}
else
{
  rpt = (ReportDocument)Session["report"];
}

and here is the explanation

http://scn.sap.com/community/crystal-reports-for-visual-studio/blog/2011/04/25/why-should-i-store-reports-object-in-httpsession