Quantcast
Channel: Crystal Reports
Viewing all articles
Browse latest Browse all 1507

Print button CrystalreportViewer

$
0
0

Hello

I have a problem with the Crystal report viewer. If I have a report with paramaters, then I am not able to use the print button. It doesn't show the dialog box for printing (Printmode: PDF). Reports without parameters are printable and show no problems. Someone has an idea ?

This is my code to bring up the CrystalReportViewer:

        if (_reportName != string.Empty)
        {
            ReportDocument cryRpt = new ReportDocument();
            cryRpt.Load(ReportDirectory + report);
            cryRpt.SetDatabaseLogon(gebruikersNaam, ww);
            rptViewerWish.ReportSource = cryRpt;
            rptViewerWish.DataBind();
        }


Viewing all articles
Browse latest Browse all 1507

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>