We help IT Professionals succeed at work.

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

803 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.
Comment
Watch Question

Freelance programmer / Consultant
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT
Top Expert 2011

Commented:
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.
AndyAinscowFreelance programmer / Consultant
CERTIFIED EXPERT

Commented:
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.
Mike McCrackenSenior Consultant
CERTIFIED EXPERT
Most Valuable Expert 2011
Top Expert 2013

Commented:
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
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.