Solved

Heavy html

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

746 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

12 Experts available now in Live!

Get 1:1 Help Now