[CLOSED] TextArea.Html missing

  1. #1

    [CLOSED] TextArea.Html missing

    Hi,

    I want to set a text with html tags into textarea but I miss html, innerHtml or something like that.

    For example:

    var html = "line1<br/>line2". 
    TextArea.setValue(html)
    When textarea is rendered shows

    line1<br/>line2
    but I would like this

    line1
    line2
    How can I do this?

    Thanks a lot!!
    Last edited by Daniil; Apr 28, 2011 at 12:49 PM. Reason: [CLOSED]
  2. #2
    i think that's not supported so use ext:HtmlEditor control or if its just for display without user editing the displayField can handle html!
  3. #3
    Hi,

    TextArea cannot display html
    If you want to set multiline then use '\n'
    "line1\nline2"
  4. #4
    Thanks vladimir!!

Similar Threads

  1. How to content <%=Html.TextArea()%>
    By qch2006qch in forum 1.x Help
    Replies: 0
    Last Post: Jan 19, 2012, 2:54 AM
  2. [CLOSED] [1.0] Problem with HTML textarea inside a gridpanel's column
    By PoloTheMonk in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Oct 14, 2010, 7:16 AM
  3. Replies: 4
    Last Post: Jun 25, 2010, 4:19 PM
  4. Replies: 3
    Last Post: Mar 01, 2010, 4:55 AM
  5. html decode textarea
    By maxdiable in forum 1.x Help
    Replies: 2
    Last Post: Jan 22, 2010, 3:54 AM

Posting Permissions