iframe with pdf content crashes IE 8

2 posts, 0 answers
  1. Jon
    Jon avatar
    7 posts
    Member since:
    Mar 2013

    Posted 26 Nov 2013 Link to this post

    I have a lightbox with an iframe in the item template that loads pdfs from an httphandler.  In chrome this works fine however it completely crashes IE 8 no matter how I attempt to load the pdf up (direct src, another .aspx with iframe content etc...).  An iframe loading the pdf content alone seems to work just fine however.

    Here is my lightbox as declared:

    Any suggestions?
    <telerik:RadLightBox ID="helpFrame" runat="server" Width="1000px"
            Height="730px" Modal="True" ShowNextButton="False" ShowPrevButton="False"
            PreserveCurrentItemTemplates="true" RenderMode="Lightweight" ClientSettings-ClientEvents-OnLoad="helpLoad">
            <ClientSettings>
                <AnimationSettings HideAnimation="Resize" ShowAnimation="Resize" />
            </ClientSettings>
            <Items>
                <telerik:RadLightBoxItem>
                    <ItemTemplate>
                        <iframe clientidmode="Static" id="helpIFrame" height="100%" width="100%"></iframe>
                    </ItemTemplate>
                </telerik:RadLightBoxItem>
            </Items>
        </telerik:RadLightBox>
  2. Jon
    Jon avatar
    7 posts
    Member since:
    Mar 2013

    Posted 26 Nov 2013 Link to this post

    I resolved this by changing the iframe to an <object> which is probably the more elegant solution anyway.

    Thanks.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top