Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Report preview in web app is formatted wrong Post Reply Post New Topic
Author Message
Spore
Newbie
Newbie


Joined: 05 Aug 2008
Online Status: Offline
Posts: 2
Quote Spore Replybullet Topic: Report preview in web app is formatted wrong
     Posted: 19 Sep 2008 at 10:56am
It's appearing in landscape mode when it should be in portrait, and the text is center-aligned when it should be right-aligned.  Looks fine in the designer, looks fine when it prints - it's just the preview in the report viewer that's wrong.
 
This is in an asp.net application that I'm working on in VS 2005.  My code is something like this:
 

MyReport rpt = new MyReport();

// Dataset has all tables for report and subreports

DataSet
ds = GetDataSet();

rpt.SetDataSource(ds);

rpt.OpenSubreport("SubRep1").SetDataSource(ds);

rpt.OpenSubreport("SubRep2").SetDataSource(ds);

CrystalReportViewer1.ReportSource = rpt;



Edited by Spore - 29 Sep 2008 at 9:01am
IP IP Logged
Spore
Newbie
Newbie


Joined: 05 Aug 2008
Online Status: Offline
Posts: 2
Quote Spore Replybullet Posted: 29 Sep 2008 at 9:02am
Bump!  I have nowhere else to turn. :)
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum