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. Richtextbox

Richtextbox

Scheduled Pinned Locked Moved ASP.NET
csharptutorial
9 Posts 6 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.
  • 4 Offline
    4 Offline
    4anusha4
    wrote on last edited by
    #1

    How to append a new line to a richtextbox in c#.net

    Y R R L 4 Replies Last reply
    0
    • 4 4anusha4

      How to append a new line to a richtextbox in c#.net

      Y Offline
      Y Offline
      Yusuf
      wrote on last edited by
      #2

      what happen to your old friend new line character '\n' ;)

      Yusuf May I help you?

      1 Reply Last reply
      0
      • 4 4anusha4

        How to append a new line to a richtextbox in c#.net

        R Offline
        R Offline
        raju melveetilpurayil
        wrote on last edited by
        #3

        RichTextBox.Text = "1st line<br/> 2nd line";

        makhaai

        modified on Saturday, July 24, 2010 3:44 AM

        S 1 Reply Last reply
        0
        • 4 4anusha4

          How to append a new line to a richtextbox in c#.net

          R Offline
          R Offline
          R Giskard Reventlov
          wrote on last edited by
          #4

          RichTextBox.Text += "text to append";

          "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

          1 Reply Last reply
          0
          • 4 4anusha4

            How to append a new line to a richtextbox in c#.net

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            You can also try following line for newline in richtextbox.

            richTextBox1.Text = "Some text " + Environment.NewLine + "Again some text.";

            HTH

            Jinal Desai - LIVE Experience is mother of sage....

            1 Reply Last reply
            0
            • R raju melveetilpurayil

              RichTextBox.Text = "1st line<br/> 2nd line";

              makhaai

              modified on Saturday, July 24, 2010 3:44 AM

              S Offline
              S Offline
              Sandeep Mewara
              wrote on last edited by
              #6

              Shouldn't it be <br /> instead of </br>?

              R 1 Reply Last reply
              0
              • S Sandeep Mewara

                Shouldn't it be <br /> instead of </br>?

                R Offline
                R Offline
                raju melveetilpurayil
                wrote on last edited by
                #7

                Sandeep Mewara, its a mistake. I will Update that.

                S 1 Reply Last reply
                0
                • R raju melveetilpurayil

                  Sandeep Mewara, its a mistake. I will Update that.

                  S Offline
                  S Offline
                  Sandeep Mewara
                  wrote on last edited by
                  #8

                  Looks like you didnt like me pointing it. :doh: Chill, just told you so that you can rectify it.

                  R 1 Reply Last reply
                  0
                  • S Sandeep Mewara

                    Looks like you didnt like me pointing it. :doh: Chill, just told you so that you can rectify it.

                    R Offline
                    R Offline
                    raju melveetilpurayil
                    wrote on last edited by
                    #9

                    I am not. I like doing something [posting,asking..] here, other than any other Programming forums. because if I do anything wrong others [like u] will correct me. anyway thank you Sandeep Mewara.

                    Raju.M

                    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