AllowHtmlTags Issue

Stimulsoft Reports.WPF discussion
Post Reply
mhudnall
Posts: 12
Joined: Tue Oct 20, 2009 2:20 pm
Location: Tuscaloosa, AL

AllowHtmlTags Issue

Post by mhudnall »

I have a report that I couldn't get AllowHtmlTags on a text component to have any effect so I tried the following:
-In the WPF reports Designer (October 19th 2009 build) I created a new report
-I put a text component on ther report.
-I checked AllowHtmlTags on the text component
-I pasted the following text:

Test HTML: The quick brown fox jumps over the lazy dog

But still I cannot get the HTML to render. What am I doing wrong? Thanks!

UPDATE: The export to PDF supports the above HTML tags, but the report viewer control is not rendering them.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

AllowHtmlTags Issue

Post by Jan »

Hello,

Sorry, at this moment WPF version of our product does not support html tags. It will be available later.

Thank you.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

AllowHtmlTags Issue

Post by Jan »

Hello,

Please check build from 2 November.

Thank you.
mhudnall
Posts: 12
Joined: Tue Oct 20, 2009 2:20 pm
Location: Tuscaloosa, AL

AllowHtmlTags Issue

Post by mhudnall »

It seems to almost work. Line breaks are still a problem.

So,
Test HTML: The quick brown fox jumps over the lazy dog
works.

But
Test HTML: The quick brown fox jumps over the lazy dog
Does not.

Getting line breaks working is critical for my application.

Can I get a list of the tags that should work?

Thanks.
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

AllowHtmlTags Issue

Post by Ivan »

Hello,
mhudnall wrote:It seems to almost work. Line breaks are still a problem.
Test HTML: The quick brown fox jumps over the lazy dog
Does not work.
Getting line breaks working is critical for my application.
The problem is solved.
The patch will be available in the next prerelease build from 9-Nov-2009.

Please, as a quick solution, use the tag instead of the tag.
mhudnall wrote:Can I get a list of the tags that should work?

















//center, right, justify

& < > "  

Thank you.
mhudnall
Posts: 12
Joined: Tue Oct 20, 2009 2:20 pm
Location: Tuscaloosa, AL

AllowHtmlTags Issue

Post by mhudnall »

Perfect, thanks!

Just and FYI to anyone reading this:

If you are using XML as your data source and you are storing HTML in the XML, use CDATA tags like the following


HTML: The quick brown fox jumps over the lazy dog]]>


The reports engine respects them appropriately and everything just works. Hope this helps...
Post Reply