locked
using a htmleditorextender causes problems when you want to edit the text later. RRS feed

  • Question

  • User-1112034352 posted

    I have a form where has a textbox with an htmlEditorExtender.  It works.  He can format his own content, or he can paste in entire webpages from elsewhere in the web.  In source view, he sees the tags, and in regular view he sees the formatted text.

    But...

    I have another page where I want to let the user edit this text, if he wants to update it.  Again, I use a textbox with an htmleditorextender.

    The problem is, that when I get his original markup from a database and put it into the textbox, that original markup gets encoded.  so for instance, a '<' character becomes &lt;

    I think this is a bug.

    If a textbox has an htmleditorextender attached to it, then it should accept markup, and not try to encode it.

    But since the problem exists, is there anyway, perhaps in the 'load' event of the textbox, to decode the text coming in?

    Thanks,

    Sunday, April 20, 2014 4:46 PM

Answers

All replies