views:

630

answers:

1

HI, I am having problem in rendering html formatted text in crystal report in visual studio 2003.

When the textformat attribute is set to crHTMLText the values are not being displayed in the report.

When it is set to crRTFText the formatting is not applied.

Is there anything I should do for achieving this?

A: 

Are you setting this property through code? With the designer, I believe it's the "text interpretation" property found in the paragraph tab. I know only a small subset of html tags are supported.

dotjoe
Ya only some of the HTML tags are rendered. Tags like table, div etc are not rendered. So the design wont be effective. Can you suggest any other way of presenting a large string in pages as in MS word.
rahul
I take it this is a desktop app? Maybe the .Net web-browser control would work good for this? Or, just launch whatever the default browser is. You could simply put the text in a temp file and open that with the browser.
dotjoe