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
Comments: I have this problem also.
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
Comments: I have this problem also.