This is a migrated thread and some comments may be shown as answers.

object tag is deleted in the IE Quirks document mode.

1 Answer 60 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Alexander Yaremenko
Top achievements
Rank 1
Alexander Yaremenko asked on 11 Jun 2013, 02:15 PM
All <object> tags are removed when you open Rad Editor in IE in Quirks document mode.
Reproducing scenario:
1. Open Rad Editor in IE9 and set Quirks document mode(by using F12 Developers tools)
2. Insert the following html to the Html tag
<object id="111" class="class">
<param name="bgcolor" value="#FFFFFF" />
<param name="width" value="458" />
<param name="height" value="388" />
<param name="playerID" value="11111" />
<param name="playerKey" value="xxxxxxxxx" />
<param name="isVid" value="true" />
<param name="dynamicStreaming" value="true" />
<param name="@videoPlayer" value="1111111" />
</object>

3. Open Design and back to the Html tab

Result: the <object> tag is gone.
Note it reproduces only in IE in the Quirks mode.
How can we fix it?

1 Answer, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 14 Jun 2013, 08:11 AM
Hello Alexander,

I am afraid that RadControls for ASP.NET AJAX are not supported in Internet Explorer Quirks Mode as you can see in the Browser Support article on our website. RadEditor is compliant with XHTML1.1 Transitional, while Quirks mode suggests the lack of any Doctype Declaration, causing unexpected behavior.

Currently, I could only recommend disabling Quirks Mode (if it meets your project's requirements) either manually, or via a similar meta tag that can be added to the page, which forces IE to use a different document mode:
<meta http-equiv="X-UA-Compatible" content="IE=8" />

Note, that you can replace "IE=8" with the browser version that will best suit your needs.

I hope that you will find the provided workaround helpful. If you have any other questions, feel free to contact us.

Regards,
Ivaylo
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Editor
Asked by
Alexander Yaremenko
Top achievements
Rank 1
Answers by
Ivaylo
Telerik team
Share this question
or