Completed
Last Updated: 16 Jan 2014 09:33 by ADMIN
ADMIN
Ianko
Created on: 22 Jul 2013 10:47
Category: Editor
Type: Bug Report
1
Client-side error, that is thrown when pasting in the content of ajaxified RadEditor that is loaded from the code-behind in RadTreeView under IE8
When creating a tree view with nodes which on click create instances of the RadEditor and pasting inside the content of the second instance throws a JavaScript error.

The following workaround will help you avoid this behavior:

Set this function to the OnClientLoad property (OnClientLoad = 'OnLoad')

function OnLoad(editor, args) {
var originalGetPasteIFrame = Telerik.Web.UI.Editor.Utils._getPasteIframe;
Telerik.Web.UI.Editor.Utils._getPasteIframe = function (parentDoc, editor) {
if ($telerik.isIE8) {
$telerik.$(this._pasteIframe).remove();
this._pasteIframe = null;
}
return originalGetPasteIFrame.call(this, parentDoc, editor);
}
}
0 comments