RadWindow and Pdf Problem in IE8

3 posts, 0 answers
  1. ALEX
    ALEX avatar
    53 posts
    Member since:
    Feb 2011

    Posted 21 Mar 2012 Link to this post

    Hi Team,

             I'm trying open the pdf file from radwindow. I follow this thread Rad Window to Open Pdf . It work on Firefox not at IE8.
    Someone can give me suggestion?

    <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
            <script type="text/javascript">
                function rbLegend_OnClientClicked(sender, args) {
                    var rwLegend = $find("<%= rwLegend.ClientID %>");
                    rwLegend.show();
                    sender.set_autoPostBack(false);
                }          
            </script>
        </telerik:RadScriptBlock>
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="rbLegend">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="rwLegend" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
        <div>
            <telerik:RadWindowManager ID="RadWindowManager1" runat="server">
                <Windows>
                    <telerik:RadWindow ID="rwLegend" runat="server" VisibleOnPageLoad="false" ShowContentDuringLoad="true">
                        <ContentTemplate>
                            <iframe id="iframe3" runat="server" width="99%" height="99%" src="2.pdf">
                            </iframe>
                        </ContentTemplate>
                    </telerik:RadWindow>
                </Windows>
            </telerik:RadWindowManager>
            <telerik:RadButton ID="rbLegend" runat="server" Text="RadButton"
                OnClientClicked="rbLegend_OnClientClicked">
            </telerik:RadButton>
        </div>

    Regards,
    Alex

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    2817 posts
    Member since:
    Jun 2013

    Posted 23 Mar 2012 Link to this post

    Hello Alex,

    What happens if you only leave the iframe that actually loads your pdf on the page?

    <iframe id="iframe3" runat="server" width="99%" height="99%" src="2.pdf"></iframe>


    The behavior should be the same and is controlled by your browser, not by our controls. It depends on the presence and configuration of a browser plugin that will handle the pdf.


    All the best,
    Marin
    the Telerik team
    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 their blog feed now.

  3. ALEX
    ALEX avatar
    53 posts
    Member since:
    Feb 2011

    Posted 25 Mar 2012 Link to this post

    Hi Marin,

              Thanks for your reply. I found the solution for my case.

    Regards,
    Alex

Back to Top