Solved

Convert Crystal Report to XML or HTML format then view it on asp.net webform inside on <div> tag or other tags.

Posted on 2016-08-11
4
119 Views
Last Modified: 2016-08-15
Hi everyone,

I would like to as some help regarding on Crystal Reports,

I want the report to be in html format so that I can view the result of the report displayed quickly on a webform without using the CrystalReportViewer.

because this viewer is not opening quickly.

Thank you in advance.
0
Comment
Question by:akoIT
  • 2
4 Comments
 
LVL 44

Accepted Solution

by:
AndyAinscow earned 500 total points
ID: 41753383
To do that you would need to render the report in the viewer then export it to disc in the format you want then open that in your web viewer.  

However I think that would take rather longer than just viewing it in the crystal reports viewer.
0
 
LVL 18

Expert Comment

by:vasto
ID: 41753417
You can use Crystal runtime to export the report without loading it in a viewer, but this will not help you. Viewer is not slow, it takes some time for Crystal engine to load the components, then to read and load the report file and there might be a lot of data or a lot of calculations to show the data in your report. You may get better performance on the second report because the components will be in memory. I doubt you will get better performance if you export to HTML and then load the file. Besides, export from Crystal to HTML is not good at all. You can try exporting to PDF, but the performance will be not better.
0
 
LVL 44

Expert Comment

by:AndyAinscow
ID: 41753462
A good point re the quality of HTML export - it probably won't look like the printed version especially if you have page headers/footers.

Also note that using the pdf format as the intermediate not only has the overhead of rendering and exporting the report (vasto agrees with my earlier comment of that probably taking more time than just viewing in the viewer) you will also have the overhead of loading the pdf viewer into the browser to slow things down even more, assuming the end user actually has a pdf viewer for the browser enabled.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 41753831
Crystal can export to both PDF, XML, and HTML.  The XML is just the data no formatting.  The PDF and HTML do render as reports when opened

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…
A simple description of email encryption using a secure portal service. This is one of the choices offered by The Email Laundry for email encryption. The other choices are pdf encryption which creates an encrypted pdf of your email and any attachmen…

911 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

21 Experts available now in Live!

Get 1:1 Help Now