Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Issue: Paste from MS Word (with cleanup) in HTMLEditorExtender [26985]

$
0
0
We need the two paste operation:
Paste Plain Text
Paste from MS Word (with cleanup)
in the new HTMLEditorExtender. Like we had in the old HTMLEditor.
Comments: Not sure if anyone has done this but it seems to work: In Page_Load check for IsPostBack... set your 'Text' property to use the Decode method... like: protected void Page_Load(object sender, EventArgs e) { if (IsPostBack) { tbContent.Text = HttpContext.Current.Server.HtmlDecode(tbContent.Text); } } Seems to keep the expected format in shape with text pasted from Word

Viewing all articles
Browse latest Browse all 4356

Trending Articles



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