hi guys,
i'm wondering, is there a way to make the ReportViewer skip the printer dialog box when printing a report?
i don't want the user to deal with printing options and want to set these things through code,
things like number of copies, default printer etc.
i tried to find a PreviewPrintReport or something like that - haven't find it.
any suggestions?
thanks.
4 Answers, 1 is accepted
0
Accepted
Hi Lior ef,
Take a look at the following help article for more information: Hide the print progress dialog when printing a report programmatically. Additionally review the next KB article: Print Report straight to printer.
All the best,
Steve
the Telerik team
Take a look at the following help article for more information: Hide the print progress dialog when printing a report programmatically. Additionally review the next KB article: Print Report straight to printer.
All the best,
Steve
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Lior ef
Top achievements
Rank 1
answered on 08 Jul 2010, 06:41 AM
hi Steve,
thanks a lot for the answer, it looks great, looks like the answer.
0
Lior ef
Top achievements
Rank 1
answered on 19 Jul 2010, 12:58 PM
hi,
just one more little problem.
just one more little problem.
if i want to print the report
through code i have to do one of both things:
- hide the default print button of the ReportViewer so i can
create my own.
-
override the ReportViewers' print button event functionality to do what i want
how do i do any of them?
i've search the site and there are answers
how to do that but in web ReportViewer using javascript, i use the WPF one.
thanks again.
0
Accepted
Hello Lior ef,
Peter
the Telerik team
The WPF Report Viewer and the Silverlight Report Viewer are actually templates that can be easily modified with Blend. That way you can customize the viewers' template to respond to any custom requirements you have i.e. removing the print button and/or adding your own with an appropriate event.
Peter
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items