Crystal report viewer asking parameters again when clicking on the tool bar

Dear all
I am working on an asp .net application in which I am using crystal report for showing reports. In my application everything works fine including the reports.
The real problem comes when I start clicking on the crystal report toolbar. If I click on any button on the crystal report tool bar like (Export, next page etc) it is asking parameters again.
Is there any way so that that the crystal repot viewer does not ask the parameter that I have already given .
I have also given true for the property reuseparametervaluesonrefresh.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

What code are you using?

On what event is the code?

IkramfiesAuthor Commented:
Im my application i am using push mechanism to show report,
iam assigning the output of an sp to a dataset and then giving the dataset as report source .
I had created an xml file and designed the report ,the xml file is having the same schema as the dataset

    private void showReport(string ReportPath, string ReportId)
        Master.BusinessLayer ObjBL_Master = new Master.BusinessLayer();
        DataTable CompanyDetails = new DataTable();
        DataTable dt = new DataTable();
        DataSet Ds = new DataSet();
        CrystalDecisions.CrystalReports.Engine.ReportDocument Crpt = new ReportDocument();
        Crpt.Load(Server.MapPath(".") + ReportPath);
        DataTable dtheader = new DataTable();
        dtheader = ObjBL_Master.GetCompanyDetails(CompanyId);
        dtheader.TableName = "CompmayDetails";
        switch (ReportId)
            #region SUPPLY
            case "27":
                dt = ObjBL_Master.GetEmployeMaster(CompanyId);
                Crpt.SetParameterValue("EmpName", "Employee Name");
                Crpt.SetParameterValue("Language", CurrCulture);
                Crpt.SetParameterValue("RecordCardNo", "Record Card No");
                Crpt.SetParameterValue("ServiceNo", "Service No");
                Crpt.SetParameterValue("ReportName", "Employee List");
                Crpt.SetParameterValue("User", UserName); 
            case "1":// Supply Purchase Order
                dt = BissLayer.RptSupplyPO(FinancialYear, CompanyId, Convert.ToInt16(cboComboOne.SelectedValue));
                Crpt.SetParameterValue("User", UserName);
                Crpt.SetParameterValue("Supplier", GetLocalResourceObject("Supplier").ToString());
                Crpt.SetParameterValue("Address", GetLocalResourceObject("Address").ToString());
                Crpt.SetParameterValue("PONo", GetLocalResourceObject("SupplyPo_PONo").ToString());
                Crpt.SetParameterValue("Date", GetLocalResourceObject("Date").ToString());
                Crpt.SetParameterValue("QuotNo", GetLocalResourceObject("SupplyPo_QuotationNo").ToString());
                Crpt.SetParameterValue("POReqNo", GetLocalResourceObject("SupplyPo_POReqNo").ToString());
                Crpt.SetParameterValue("CostOp", GetLocalResourceObject("SupplyPo_CostOp").ToString());
                Crpt.SetParameterValue("FIns", GetLocalResourceObject("SupplyPo_FInsu").ToString());
                Crpt.SetParameterValue("Total", GetLocalResourceObject("SupplyPo_Total").ToString());
                Crpt.SetParameterValue("Code", GetLocalResourceObject("SupplyPo_Code").ToString());
                Crpt.SetParameterValue("Desc", GetLocalResourceObject("SupplyPo_Desc").ToString());
                Crpt.SetParameterValue("Qty", GetLocalResourceObject("SupplyPo_Qty").ToString());
                Crpt.SetParameterValue("Rate", GetLocalResourceObject("SupplyPo_Rate").ToString());
                Crpt.SetParameterValue("Amnt", GetLocalResourceObject("SupplyPo_Amnt").ToString());
        CrystalReportViewer1.ReportSource = Crpt;
        WebPanelReport.Expanded = false;

Open in new window

IkramfiesAuthor Commented:
the above function "showReport" iam clling on a button click

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
IkramfiesAuthor Commented:
I solve the above problem by putting the repost parameter siigning codes out side !ispostback
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Crystal Reports

From novice to tech pro — start learning today.