Rendering of Allow Html Tag Style affect some elements.

Stimulsoft Reports.WEB discussion
Post Reply
junixquiaoit
Posts: 38
Joined: Thu Jun 23, 2016 2:03 am

Rendering of Allow Html Tag Style affect some elements.

Post by junixquiaoit »

Hi, I would like to report regarding Allow Html Tag conflict on background-color. My datasource has column that contains html elements which is Instructions.

Here's the value:
<p><span style="background-color:#0033cc;">This is blue.</span></p><p>This is not blue.</p><p>This is not blue.</p>

Here's the appearance:
screenshot 1.PNG
screenshot 1.PNG (3.66 KiB) Viewed 3439 times
When I preview it on my app, it shows this:
Screenshot 2.PNG
Screenshot 2.PNG (44.65 KiB) Viewed 3439 times
But when I tried styling the next row to blue. It would affect the next rows. For now, this can be resolved by styling the background-color to white.

Is there a fix regarding this?

Thank you.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Rendering of Allow Html Tag Style affect some elements.

Post by Alex K. »

Hello,

Please try to use the "background-color" tag.
Also, you can find all supported HTML tags at the following link:
https://stimulsoft.zendesk.com/hc/en-us ... gs-in-text

Thank you.
junixquiaoit
Posts: 38
Joined: Thu Jun 23, 2016 2:03 am

Re: Rendering of Allow Html Tag Style affect some elements.

Post by junixquiaoit »

I guess we will do some code adjustments to convert it into supported html tags of Stimulsoft.

Thanks for the info.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Rendering of Allow Html Tag Style affect some elements.

Post by Alex K. »

Hello

We are always glad to help you!
Please let us know if you need any additional help.

Thank you.
junixquiaoit
Posts: 38
Joined: Thu Jun 23, 2016 2:03 am

Re: Rendering of Allow Html Tag Style affect some elements.

Post by junixquiaoit »

Hi,

Do you have a guide that can help me to translate html element to supported html tags of Stimulsoft using C#?

Thanks.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Re: Rendering of Allow Html Tag Style affect some elements.

Post by Edward »

Hi Junixquiaoit,

We also have the following pages that describe the supported tags(please check the tree on the left)
https://www.stimulsoft.com/en/documenta ... l_tags.htm

Thank you,
Edward
edsonmiranda
Posts: 29
Joined: Thu Jul 07, 2016 2:06 pm

Re: Rendering of Allow Html Tag Style affect some elements.

Post by edsonmiranda »

In my opinion I suggest Stimulsoft to use standard html tags, it´s very difficult to develop user interface with standard html textboxes. We have to make conversion that I think it's not the right way to do. Think about guys!
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

Re: Rendering of Allow Html Tag Style affect some elements.

Post by Lech Kulikowski »

Hello,

Thank you for your suggestion.
Post Reply