Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 ssrs 2008 r2 user change landscape to portrait

Author  Topic 

jassie
Constraint Violating Yak Guru

332 Posts

Posted - 2013-11-26 : 14:40:02
In a SSRS 2008 R2 report, I have the page orientation set to landscape. However, I am wondering if the user wants to be able to change the page orientation to portrait is that possible? If so, how would I use SSRS 2008 r2 to allow the user to change the page orientation from landscape to portrait?


Note: I have logic like the following to determine what tablix would be visible when completing onwe of the export options:
=IIF(Globals!RenderFormat.Name = "EXCEL" OR Globals!RenderFormat.Name = "PDF" OR Globals!RenderFormat.Name = "WORD", True, False)

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-11-27 : 05:12:31
Nope. There's no way by which users can control this at runtime expecially when viwed through standard report viewer. Report server determines the landscape and portrait mode based on the length and width set for the report.
You may be able to control it by using custom viewer though using .NET code by fetching report properties and changing it programatically.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
   

- Advertisement -