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

Created Unassigned: cannot do postback with HtmlEditorExtender ith ie11 [27583]

$
0
0
Found a postback problem because of the JavaScript runtime error: Invalid argument in the _editableDiv_submit of the htmleditor when using internet explorer 11.

The page didn't postback with ie11 and the htmleditor together because it found a problem in sel.collapse(this._editableDiv.firstChild, char) of the _editableDiv_submit

because didn't have much time I decided to temporary fix the function with the below:

if (!!navigator.userAgent.match(/Trident\/7\./) && Sys.Extended && Sys.Extended.UI && Sys.Extended.UI.HtmlEditorExtenderBehavior &&
Sys.Extended.UI.HtmlEditorExtenderBehavior.prototype && Sys.Extended.UI.HtmlEditorExtenderBehavior.prototype._editableDiv_submit) {
Sys.Extended.UI.HtmlEditorExtenderBehavior.prototype._editableDiv_submit = function () {
var char = 3;
var sel = null;
setTimeout(function () {
if (this._editableDiv != null)
this._editableDiv.focus();
}, 0);
this._textbox._element.value = this._encodeHtml();
};
}

Regards,
WinSaaS

Viewing all articles
Browse latest Browse all 4356

Trending Articles



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