Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. ASCII ENTER symbol in text box

ASCII ENTER symbol in text box

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jay_se
    wrote on last edited by
    #1

    Hi, My text (notepad) cotains few ascii characters; one of which is ENTER symbol (like a square box). I want the text as it is, while I paste it to a textbox. (Access it through Textbox.Text property in code) -- Asp.net/ vb.net Instead, (i) when I pasted in a textbox with text mode as single line, the portion of the text before the enter symbol alone pasted. (ii) when I pasted it in the with text mode as multiline, then it is pasted as two lines. Is there any way to get the same text in textbox?

    Jey

    C 1 Reply Last reply
    0
    • J Jay_se

      Hi, My text (notepad) cotains few ascii characters; one of which is ENTER symbol (like a square box). I want the text as it is, while I paste it to a textbox. (Access it through Textbox.Text property in code) -- Asp.net/ vb.net Instead, (i) when I pasted in a textbox with text mode as single line, the portion of the text before the enter symbol alone pasted. (ii) when I pasted it in the with text mode as multiline, then it is pasted as two lines. Is there any way to get the same text in textbox?

      Jey

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      No - in fact, it's notepad that's messing with you, the textbox is correctly showing you two lines, if it's in that mode. If it's not, it's correctly stopping at the end of the single line.

      Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups