Keep the format of MultiLine TextBox.Text

Discussion in 'ASP .Net Web Controls' started by frank, Aug 15, 2006.

  1. frank

    frank Guest

    How to keep the format of the content of a MultiLine TextBox. For example,
    'new line'

    I try the code:
    ------------------------------
    TextBox.Text = "TERANET / MPAC - KEY TERMS OF USE \n" & _
    "3.1 \n" & _
    .......
    ------------------------------

    The display in Browser is:
    ------------------------------
    TERANET / MPAC - KEY TERMS OF USE \n3.1\n ...
    ------------------------------

    Thanks a lot!
     
    frank, Aug 15, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Simon Middlemiss
    Replies:
    2
    Views:
    5,245
    Jacob Yang [MSFT]
    Nov 10, 2003
  2. =?Utf-8?B?ZnJhbms=?=

    Keep the format of MultiLine TextBox.Text

    =?Utf-8?B?ZnJhbms=?=, Aug 16, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    606
    =?Utf-8?B?ZnJhbms=?=
    Aug 16, 2006
  3. Nathan Sokalski

    Placing control tag text in a multiline TextBox

    Nathan Sokalski, Jan 3, 2008, in forum: ASP .Net
    Replies:
    2
    Views:
    513
    Nathan Sokalski
    Jan 3, 2008
  4. Nathan Sokalski

    Placing control tag text in a multiline TextBox

    Nathan Sokalski, Jan 3, 2008, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    206
    Nathan Sokalski
    Jan 3, 2008
  5. dale zhang
    Replies:
    8
    Views:
    428
    Tintin
    Nov 30, 2004
Loading...

Share This Page