Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

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

$
0
0

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,


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>