HTML in Text control

Stimulsoft Reports.Silverlight discussion
Lex Lavnikov
Posts: 34
Joined: Tue Nov 08, 2011 9:34 am
Location: Frankfurt

HTML in Text control

Post 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
Anton Lozovskiy
Posts: 135
Joined: Tue Aug 11, 2009 9:38 am

HTML in Text control

Post by Anton Lozovskiy »

Hello,

Now html tags are not supported in Silverlight.

Thank you.
Lex Lavnikov
Posts: 34
Joined: Tue Nov 08, 2011 9:34 am
Location: Frankfurt

HTML in Text control

Post 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?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

HTML in Text control

Post 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.
Lex Lavnikov
Posts: 34
Joined: Tue Nov 08, 2011 9:34 am
Location: Frankfurt

HTML in Text control

Post by Lex Lavnikov »

You mean, it's difficult to render something as something inside a TextBlock?
Anton Lozovskiy
Posts: 135
Joined: Tue Aug 11, 2009 9:38 am

HTML in Text control

Post 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.
Lex Lavnikov
Posts: 34
Joined: Tue Nov 08, 2011 9:34 am
Location: Frankfurt

HTML in Text control

Post 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 :(
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

HTML in Text control

Post 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.
Lex Lavnikov
Posts: 34
Joined: Tue Nov 08, 2011 9:34 am
Location: Frankfurt

HTML in Text control

Post by Lex Lavnikov »

How could I report something like inside one Text block?

Allowed Asset Classes: Bonds, Securities, Swaps.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

HTML in Text control

Post 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.
Locked