Solved

Heavy html

Posted on 2003-10-21
3
242 Views
Last Modified: 2012-08-13
I am analyzing a new .net application using Crystal Reports 9.

My question is if exists a better way to show the reports... Actually we are embedding the reports in the aspx page, but the page size is near 700 k, I saw another applications and the size is lower.

Anybody can help me ?

Thanks in advance.
0
Comment
Question by:lausz
  • 2
3 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 100 total points
ID: 9593676
Were the reports embedded in it?  The report size will influence the page size.

There are ways to call the reports from web pages without embedding.  To do so you must have the report file (.rpt) available.

In my opinion it is better to use the .rpt files than to embed the report in the page.

The main argument for embedding is that the report cannot be changed by the user.

The argument for using the rpt files is flexibility.  You can change the report without having to update the web page.  You can change the web age without impacting the report.


mlmcc
0
 
LVL 7

Expert Comment

by:ladylinet
ID: 9593923
If you don't want to embed report, you should use something like this:
...
protected CrystalDecisions.Web.CrystalReportViewer CrystalReportViewer1;
protected ReportDocument crReport;
...
crReport = new ReportDocument();
crReport.Load(Server.MapPath("rpt\\Report1.rpt"));  // or whatever is your path
CrystalReportViewer1.ReportSource = crReport;

Lady Linet
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 9603498
Glad I could help

mlmcc
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now