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. General Programming
  3. C#
  4. Unformatted text in grid row when saved from rich txt box [modified]

Unformatted text in grid row when saved from rich txt box [modified]

Scheduled Pinned Locked Moved C#
csshelp
5 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.
  • M Offline
    M Offline
    MathewPV
    wrote on last edited by
    #1

    i have a form which contain rich text box and that accepts return key.On save of text with multiline text property to the grid it shows a square on enter key press position..pls help

    modified on Friday, March 19, 2010 7:32 AM

    C M 2 Replies Last reply
    0
    • M MathewPV

      i have a form which contain rich text box and that accepts return key.On save of text with multiline text property to the grid it shows a square on enter key press position..pls help

      modified on Friday, March 19, 2010 7:32 AM

      C Offline
      C Offline
      Calla
      wrote on last edited by
      #2

      Change your column's WrapMode to true. ///to clarify: Change the wrapmode of the DataGridView.RowTemplate.DefaultCellStyle

      1 Reply Last reply
      0
      • M MathewPV

        i have a form which contain rich text box and that accepts return key.On save of text with multiline text property to the grid it shows a square on enter key press position..pls help

        modified on Friday, March 19, 2010 7:32 AM

        M Offline
        M Offline
        MathewPV
        wrote on last edited by
        #3

        i ve set wrapmode to true..a small square box is shown on save of text from rich text box with accept return set as true

        C 1 Reply Last reply
        0
        • M MathewPV

          i ve set wrapmode to true..a small square box is shown on save of text from rich text box with accept return set as true

          C Offline
          C Offline
          Calla
          wrote on last edited by
          #4

          Seems to work on my machine. Could you post some (short and isolated) example of your code that reproduces this behaviour?

          M 1 Reply Last reply
          0
          • C Calla

            Seems to work on my machine. Could you post some (short and isolated) example of your code that reproduces this behaviour?

            M Offline
            M Offline
            MathewPV
            wrote on last edited by
            #5

            there isnt any code for it..my multiline and word wrap property is set to true..a small square box appears when i click save button after entering data with accept return property set to true.Cud u plz help me

            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