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
283 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
[X]
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
  • 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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Best book for Internet security 4 54
What is this filter doing? 2 38
async questions 5 49
VB.NET : Selection Out of Range Parameter Name : Value 22 35
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

739 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