Is anybody of you worked on HTML data populating into crystal reports?
Am using Visual studio 2010. I had an XML data coming from DB. Which am able to convert into HTML using XSL. Now my next task is to get it into crystal report.
Any hint will be greatful. Because all the online resources are simply giving me results related to creating dataset and executing stored procedures etc.
I was able to pull my HTML content to crystal report. Now the embedded styling was not able to get applied. Any clues whr do i need to tweak?
Thanks in advance.
Regards, Pavan N
Are you pushing the HTML into a text object? Have you set the interpretation to HTML?
Note that there's a limit to the level of styling and HTML that crystal is actually capable of interpreting. I found this list:
The supported tags are:
The supported attributes are:
Here: http://forums.asp.net/t/1209306.aspx/1
Also- apparently the
a
tag has been added in CR 2008 SP3. There may be more...Finally at last i found a breakthough and its very perfect in performance and quality of content.
First whatever the content i want to , i will prepare a html string and
To get a PDF use WKHTMLTOPDF.exe To prepare a image out of HTML use WKHTMLTOIMAGE.exe and the same image i created into a byte[] and added a new crystal report.
Then the byte[] will be feeded to the control dropped into crystal report.
and it worked perfectly. there is no need of itextsharp, or anything else thirdparty command tools to print a image, to print a pdf, to print a html. Am doing everything now with crystal report feeded with an image.
Thanks to all.
Regards, Pavan N