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