Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question on report orientation
Message
General information
Forum:
ASP.NET
Category:
Reporting
Miscellaneous
Thread ID:
00753819
Message ID:
00753907
Views:
14
Kevin,

The problem you are experiencing is related and is also considered a bug. The only real work-around is to roll your own print method. Many developers have complained about this so I would expect this to get fixed in the near future.

>Cathi...
>
>Thanks for the link...unfortunately, that didn't seem to work.
>
>I think my problem might be slightly different than the one described in this knowledge base article.
>
>When I preview the report that I've created [regardless of whether I use the code from the article], the report appears in the preview window correctly in landscape.
>
>However, when I click the print button and go into printer properties, the default orientation is portrait, not the landscape that I set the report up for. I went back to the RPT in design mode and made sure the default orientation is landscape....but then when I go to print at runtime, it continues to go to portrait.
>
>The only solution I can think of is to not use the default Crystal toolbar, and to write my own print method, where I can do something like...
>
>orpt.PrintOptions.PaperOrientation = CrystalDecisions.Shared.PaperOrientation.Landscape;
>
>I want to avoid doing that, but it seems like it might be the only way to resolve this.
>
>
>Kevin
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Reply
Map
View

Click here to load this message in the networking platform