Won't Fix
Last Updated: 08 Apr 2016 12:50 by ADMIN
Created on: 24 May 2010 10:58
Category: Editor
Type: Bug Report
FIX The onload attribute is removed from the body tag when editing full html page on IE
Rejected with the following description: 

RadEditor performs complex operation in order to manage its content when switching between Design and HTML modes like cloning elements and inserting content in iframe elements. Internet Explorer, however, has some limitations related to that particular operations that prevents the control from preserving the onload attribute (e.g., attributes are not preserved when the iframe is cloned, writing html to an editable iframe doesn't always preserve the event attributes).

In order to handle that scenario you can replace the event attributes with JavaScript events. For example:


<telerik:RadEditor ID="RadEditor1" runat="server" ContentFilters="ConvertToXhtml">
	window.onload = function () {
                    <body >
                        some text

Note: the ConvertToXhtml filter should be enabled as well.