Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Heavy html

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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 …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
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…

856 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