How to hide the PrinterSettingDialog on a web page
Posted: Wed Mar 25, 2015 2:01 am
Hello.
When we print a report without the WebViewer on a web page , we implement it the following way:
•put the Web Viewer with the width and height of 1px on a page;
•assign the report to the Web Viewer;
•use its PrintToDirect()/PrintToPdf() methods.
It Works Ok,But Now we have a question we need to hide the PrinterSettingDialog when print a report on a web page.
First we set the report (PrinterSettings->ShowDialog) property as follow: It can work in the Designer.exe, But it can't work on a web page.Always Open the PrinterSettingDialog like: How to hide the PrinterSettingDialog when print a report on a web page?
Thank you.
When we print a report without the WebViewer on a web page , we implement it the following way:
•put the Web Viewer with the width and height of 1px on a page;
•assign the report to the Web Viewer;
•use its PrintToDirect()/PrintToPdf() methods.
It Works Ok,But Now we have a question we need to hide the PrinterSettingDialog when print a report on a web page.
First we set the report (PrinterSettings->ShowDialog) property as follow: It can work in the Designer.exe, But it can't work on a web page.Always Open the PrinterSettingDialog like: How to hide the PrinterSettingDialog when print a report on a web page?
Thank you.