How to use formatted text in a static text/laben(or other) component?

View: New views
2 Messages — Rating Filter:   Alert me  

How to use formatted text in a static text/laben(or other) component?

by agerigk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello everyone,

my web application reads a String from a SQL Server database which is bound to a static text/label component. The problem is that I don't manage to include line breaks this way.
Is there any way to do it? It doesn't have to be using a static text or label component, I just want to display formatted text on a web page which was read from a database.

Thank you very much for your help,

Arthur

Re: How to use formatted text in a static text/laben(or other) component?

by krysP :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Try using a StaticText component and uncheck the Escape property.

/krys
LightInTheBox - Buy quality products at wholesale price