Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Heavy html

Posted on 2003-10-21
3
Medium Priority
?
250 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 101

Accepted Solution

by:
mlmcc earned 400 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 101

Expert Comment

by:mlmcc
ID: 9603498
Glad I could help

mlmcc
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

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 …
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

824 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