Page 1 of 1
Rendering of Allow Html Tag Style affect some elements.
Posted: Mon Mar 12, 2018 9:57 am
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 (3.66 KiB) Viewed 5383 times
When I preview it on my app, it shows this:

- Screenshot 2.PNG (44.65 KiB) Viewed 5383 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.
Re: Rendering of Allow Html Tag Style affect some elements.
Posted: Mon Mar 12, 2018 9:49 pm
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.
Re: Rendering of Allow Html Tag Style affect some elements.
Posted: Wed Mar 14, 2018 2:01 am
by junixquiaoit
I guess we will do some code adjustments to convert it into supported html tags of Stimulsoft.
Thanks for the info.
Re: Rendering of Allow Html Tag Style affect some elements.
Posted: Wed Mar 14, 2018 2:11 pm
by Alex K.
Hello
We are always glad to help you!
Please let us know if you need any additional help.
Thank you.
Re: Rendering of Allow Html Tag Style affect some elements.
Posted: Thu Mar 22, 2018 1:40 am
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.
Re: Rendering of Allow Html Tag Style affect some elements.
Posted: Fri Mar 23, 2018 8:52 pm
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
Re: Rendering of Allow Html Tag Style affect some elements.
Posted: Sun Apr 28, 2019 3:27 pm
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!
Re: Rendering of Allow Html Tag Style affect some elements.
Posted: Tue Apr 30, 2019 7:06 am
by Lech Kulikowski
Hello,
Thank you for your suggestion.