Solved

tinymce displaying HTML tags

Posted on 2012-03-22
3
943 Views
Last Modified: 2012-08-14
Hi,

I have now got my TinyMCE textboes working and saving data to my SQL database, but once I have saved the text and reload TinyMCE textbox to display new updated text it displays the HTML tags as well and want the TINYMCE text to render the HTML tags so they don't show.

Any help would be great.

Regards

Michael
0
Comment
Question by:hayward03
  • 2
3 Comments
 
LVL 25

Expert Comment

by:Rouchie
ID: 37751989
Try populating the text field using  

MyTextBoxID = Server.HTMLDecode(stringValue)
0
 
LVL 25

Accepted Solution

by:
Rouchie earned 500 total points
ID: 37751992
Sorry that should have been

MyTextBoxID.Text = Server.HTMLDecode(stringValue)
0
 

Author Closing Comment

by:hayward03
ID: 37752886
Worked a treat
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question