Solved

Heavy html

Posted on 2003-10-21
3
244 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
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 Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

813 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