Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Show print preview in Telerik reportiviewer when it loads

Tags:

c#

telerik

I am using the Telerik ReportViewer and would like to display it in "Print preview" imediatly without the user having to click on the PP icon. Is this possible?

EDIT: I have a Telerik report viewer which is inside a silverlight child window. When the report loads it is displayed not how it is going to be printed out (print preview mode). I would like to programaticaly set the window state to "Print preview" instead of having the user first click on the print preview icon to see how it's going to look on paper

like image 347
Ivan Crojach Karačić Avatar asked Jun 06 '12 10:06

Ivan Crojach Karačić


1 Answers

Have you tried setting the ViewMode?

Telerik Reporting R2 2016 | ReportViewer.ViewMode Property

If you are creating this control in XAML, then it would look something like:

<telerik:ReportViewer ViewMode="PrintPreview" />
like image 120
JDB Avatar answered Sep 28 '22 01:09

JDB