object tag is deleted in the IE Quirks document mode.

2 posts, 0 answers
  1. Alexander Yaremenko
    Alexander Yaremenko avatar
    13 posts
    Member since:
    Sep 2012

    Posted 11 Jun 2013 Link to this post

    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?
  2. Ivaylo
    Admin
    Ivaylo avatar
    37 posts

    Posted 14 Jun 2013 Link to this post

    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.
Back to Top