Page 1 of 3
HTML in Text control
Posted: Thu Jan 26, 2012 11:57 am
by Lex Lavnikov
Hello,
I'd like to report formatted text. For example, text with some words written in bold, italic, underlined, striked-through, different colors.
I've tried to use HTML tags property, but it does not work. HTML tags are displayed in SL Report viewer as black text.
What am I doing wrong?
Thank you
HTML in Text control
Posted: Thu Jan 26, 2012 2:47 pm
by Anton Lozovskiy
Hello,
Now html tags are not supported in Silverlight.
Thank you.
HTML in Text control
Posted: Fri Jan 27, 2012 8:24 am
by Lex Lavnikov
What can you suggest to solve this problem?
At this moment we have found only one working solution - generate PDF with Stimulsoft reports on the server side, render to PDF and display it in Silverlight client with ComponentOne PDF Viewer
http://www.componentone.com/SuperProduc ... lverlight/
Any timeframe to expect native Silverlight solution from Stimulsoft?
HTML in Text control
Posted: Fri Jan 27, 2012 8:58 am
by HighAley
Hello.
Alladin wrote:What can you suggest to solve this problem?
At this moment we have found only one working solution - generate PDF with Stimulsoft reports on the server side, render to PDF and display it in Silverlight client with ComponentOne PDF Viewer
http://www.componentone.com/SuperProduc ... lverlight/
Any timeframe to expect native Silverlight solution from Stimulsoft?
Unfortunately, it is impossible, because we use system libraries to support HTML tags which is not available from native Silverlight.
Thank you.
HTML in Text control
Posted: Fri Jan 27, 2012 1:12 pm
by Lex Lavnikov
You mean, it's difficult to render something as something inside a TextBlock?
HTML in Text control
Posted: Fri Jan 27, 2012 2:53 pm
by Anton Lozovskiy
Hello,
It's possible to realize certain tags by TextBlock, but whole realization of all tags is impossible anyway. But it will not give result because we use system libraries to support HTML tags with export which is not available from native Silverlight
Thank you.
HTML in Text control
Posted: Mon Jan 30, 2012 6:04 am
by Lex Lavnikov
The only real thing we need from all possible text formattings are: underline, color and strike-through to visualise changes.
For example, to render a change report where user wants to see what's changed since last edit:
1) Old Value = New Value => rendering in black
2) Old Value != New Value => rendering old value in red/strike-through and new value in green/underline
It is possible to implement such a scenario with Stimulsoft reports at all?
We have already made a huge investment in Stimulsoft components to drop it in favor of another reporting solution

HTML in Text control
Posted: Mon Jan 30, 2012 7:46 am
by Alex K.
Hello,
In this case, you can use Conditions with necessary text formatting.
Let us know if you need any additional help.
Thank you.
HTML in Text control
Posted: Mon Jan 30, 2012 10:06 am
by Lex Lavnikov
How could I report something like inside one Text block?
Allowed Asset Classes: Bonds, Securities, Swaps.
HTML in Text control
Posted: Tue Jan 31, 2012 2:36 am
by HighAley
Hello.
Alladin wrote:How could I report something like inside one Text block?
Allowed Asset Classes: Bonds, Securities, Swaps.
We are trying to add partial support of the HTML tags.
If the will be any result, it should appear in one of our prerelease build next month.
Thank you.