Same way. button1_Click() { Application.Call(“print”); }
Assuming you have a javscript function print() and the ASP.NET Crystal Report viewer.
We usually use the PdfViewer instead since the pdf.js viewer is a lot better that the old ASP.NET viewer and the report rendering is a lot more accurate than HTML. You can view a crystal report with 2 lines of code.
Please login first to submit.