Show preview in Telerik reportiviewer on boot

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

EDIT: I have a Telerik message viewer that is inside the silverlight child window. When loading a report, it’s not how it will be printed (preview mode). I would like to programmatically set the status of the window to "Preview", instead of first clicking the print preview icon to see how it will look on paper.

+6
source share
1 answer

Have you tried customizing ViewMode?

Telerik Reporting R2 2016 | ReportViewer.ViewMode Property

If you create this control in XAML, it will look something like this:

<telerik:ReportViewer ViewMode="PrintPreview" /> 
+5
source

Source: https://habr.com/ru/post/917436/


All Articles