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. Visitor's Feedback

Visitor's Feedback

Scheduled Pinned Locked Moved ASP.NET
csharpquestionasp-netbeta-testingcode-review
3 Posts 3 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.
  • A Offline
    A Offline
    awedaonline
    wrote on last edited by
    #1

    I have an ASP.NET/C# application that saves visitors feedback through a textBox. How do I make sure that the feedback is displayed in the format it was typed. E.g. Dear Admin, I loved the look and feel of your site... It's a great job!!! Aweda Akeem How do I save and display in the same format (including the witespaces, linefeeds, etc? Thanks you all!

    R 1 Reply Last reply
    0
    • A awedaonline

      I have an ASP.NET/C# application that saves visitors feedback through a textBox. How do I make sure that the feedback is displayed in the format it was typed. E.g. Dear Admin, I loved the look and feel of your site... It's a great job!!! Aweda Akeem How do I save and display in the same format (including the witespaces, linefeeds, etc? Thanks you all!

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

      An easy way would be to use the AjaxControlToolkit HtmlEditor[^]. Save the resultant data to the database and view back in the editor or a label as required. You'll need to encode the data (see here to get started: HttpServerUtility..::.HtmlEncode[^]. You can display the data by reversing the process.

      Tychotics: take us back to the moon "Life, for ever dying to be born afresh, for ever young and eager, will presently stand upon this earth as upon a footstool, and stretch out its realm amidst the stars." H. G. Wells

      T 1 Reply Last reply
      0
      • R R Giskard Reventlov

        An easy way would be to use the AjaxControlToolkit HtmlEditor[^]. Save the resultant data to the database and view back in the editor or a label as required. You'll need to encode the data (see here to get started: HttpServerUtility..::.HtmlEncode[^]. You can display the data by reversing the process.

        Tychotics: take us back to the moon "Life, for ever dying to be born afresh, for ever young and eager, will presently stand upon this earth as upon a footstool, and stretch out its realm amidst the stars." H. G. Wells

        T Offline
        T Offline
        tunsten
        wrote on last edited by
        #3

        Thank you for your prompt response. I appreciate that!

        Tunsten

        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