Break line in Panel


#1

Why in panel.value do not can break line using “< br >” ?

Have other option to make this?


#2

Just tried this - it works fine for me.

This is the main section of text.<br><br> This is a good place to put several lines of information.

#3

No, still don’t work for me.

I’m returning the content of the webservice and attributing in the property Value

Have other solution?


#4

Load the Panel sample and try adding the string. Does that work?


#5

Best solution for me: Style = white-space:pre

Work.

Thanks.


#6

Hi support !

What I checked in the test was this: When I put content with “< br >” by typing directly into the Value field, the line break works. But when I assign the content to the Value field coming from a string variable, it does not work. Can you correct that?


#7

Are you using the Bootstrap or jQuery Mobile Panel?


#8

BootStrap.

To make it functional, I had to use a Label for the title and a HTMLview for the content, inside a Container.


#9

I tried to use the Attribute data-html = "true ", but it did not work on all browsers