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. Problem with saving text from HTML editor

Problem with saving text from HTML editor

Scheduled Pinned Locked Moved ASP.NET
helphtmldatabaseannouncement
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.
  • J Offline
    J Offline
    janani13
    wrote on last edited by
    #1

    Hi all, I have a html editor,i bind the value from the DB to the textarea.then i update the binded text and assigned it another variable.But the varible holds the value which is initially binded.I cant save the Updated text from Html editor. Can any one help me..

    J S 2 Replies Last reply
    0
    • J janani13

      Hi all, I have a html editor,i bind the value from the DB to the textarea.then i update the binded text and assigned it another variable.But the varible holds the value which is initially binded.I cant save the Updated text from Html editor. Can any one help me..

      J Offline
      J Offline
      Jack Li
      wrote on last edited by
      #2

      Can you pastered this code? DB it's bind ,and update it.

      1 Reply Last reply
      0
      • J janani13

        Hi all, I have a html editor,i bind the value from the DB to the textarea.then i update the binded text and assigned it another variable.But the varible holds the value which is initially binded.I cant save the Updated text from Html editor. Can any one help me..

        S Offline
        S Offline
        saanj
        wrote on last edited by
        #3

        Can you post the code? From your question, I doubt whether you are using web application or not. You may be binding the text area control in the page load. Now this binding code may have been written outside if(!IsPostBack) region. So, whenever you are clicking on the update button, postback is happening and control goes to the page load and it si rebinding the old value to the textarea. So, if you are doing so then put the data binding code inside !IsPostback region.

        Either you love IT or leave IT...

        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