Disable Print Dialog
Sundara Manikandan
Chennai
Hi,
How do I disable print dialog while directly printing the report without preview?
Eg:
report.load(some name);
report.SetParameterValue(some parameter);
report.RegisterData(some data);
report.Print();
(Here I get the print setup dialog)
How do I disable it?
How do I disable print dialog while directly printing the report without preview?
Eg:
report.load(some name);
report.SetParameterValue(some parameter);
report.RegisterData(some data);
report.Print();
(Here I get the print setup dialog)
How do I disable it?
Comments
I also tried this.
Report report = new Report();
report.PrintSetting.ShowDialog = false;
But it still shows the Print Settings.
Thanks in advance.
I guess you should try this:
or this:
Thanks a lot.
It works.