Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

How to display the print dialogbox in crystal reports viewer for visualstudio 2013 in wpf?

$
0
0

Hi,

 

In my wpf application when i click on print button i want to display the print dialog box for current report.

 

Here i have written like as follows.

 

1.MyCrystalReportsViewer.ViewerCore.ReportSource = reportDocument;

 

2. MyCrystalReportsViewer.ViewerCore.PrintReport();

 

The above two statements  is executed and displayed the report in CrystalReportViewer, but it doesn't show any print dialogbox.

 

MyCrystalReportsViewer is name of the CrystalReportsVIewer control.

 

Can any one help me to solve this one using code.


Viewing all articles
Browse latest Browse all 3636

Trending Articles



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