This is a migrated thread and some comments may be shown as answers.

Silverlight ReportViewer print landscape

4 Answers 156 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 1
Rob asked on 10 Feb 2011, 06:48 PM
Hi,

I have written a report that is displayed landscape by default.  Do I have to configure the Silverlight ReportViewer's print settings to set the print page settings to Landscape when I want to print from Silverlight?  The landscape setting seems to be picked up if I export to a file then print from file, just not from Silverlight.

Thanks,

Rob

4 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 11 Feb 2011, 05:37 PM
Hi Rob,

In Q3 2010 we introduced native Silverlight print, which is set as default. However the Silverlight document print has very limited API which does not allow for us to specify the orientation. Thus for in browser applications we have exposed ReportViewer.UseNativePrinting property for the Silverlight viewer - please set it to false. This will force the Silverlight Report Viewer to revert to the previous printing behavior using Adobe's PDF plug-in. Note however that  this would not work for out of browser applications.
The other option as you've pointed out is manually setting the page orientation from the print dialog.

Greetings,
Steve
the Telerik team
Get started with Telerik Reporting with numerous videos and detailed documentation.
0
Missing User
answered on 08 Jun 2011, 01:24 PM
Sorry for bring that up but i have the same problem, i need to print the Report in Landscape but always when i click on the Silverlight ReportViewer Print button it will print in Portrait format, and there's another problem i can't count on the Adobe PDF Plugin because not of all users will have it installed on the computer. There's a workaround for this? Thanks!
0
Steve
Telerik team
answered on 08 Jun 2011, 03:01 PM
Hi Joao Paulo Grassi,

As stated in the previous post, the limitation comes from Silverlight and not our product. If/when this is addressed in the Silverlight print, we would immediately make the necessary changes to the reports so they have the correct orientation. For the time being you can either ask your users to manually change the orientation from the print dialog or to install Acrobat Reader on their machines.

Kind regards,
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
danparker276
Top achievements
Rank 2
answered on 21 Jun 2011, 01:46 AM
Is silverlight 5 going to have this ability?  Also will there be a quick update for the  report viewer print in vector format once silverlight 5 comes out?
Tags
General Discussions
Asked by
Rob
Top achievements
Rank 1
Answers by
Steve
Telerik team
Missing User
danparker276
Top achievements
Rank 2
Share this question
or