Click here to Skip to main content
16,017,623 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to navigate page using toolbar in crystal report. I wrote code in Page_Init method.
protected void Page_Init(object sender, EventArgs e)
{
ReportDocument reportdocument = new ReportDocument();
reportdocument = (ReportDocument)Session["reportDocument"];
CrvATPostingSummary.ReportSource = reportdocument;
}

But it shows error like, Missing Parameter values.
How to solve this problem?
Posted

1 solution

I solved this problem by just binding report again in Page_Init method.

C#
if (!this.IsPostBack)
        {

        }
        else
        {
            if (Session["reportdocument"] != "N/A")
            {
                ReportDocument reportdocument = (ReportDocument)Session["reportdocument"];
                CrvATPostingSummary.ReportSource = reportdocument;
                CrvATPostingSummary.DataBind();
            }
        }
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900