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

RadWindow and Pdf Problem in IE8

2 Answers 74 Views
Window
This is a migrated thread and some comments may be shown as answers.
ALEX
Top achievements
Rank 1
ALEX asked on 21 Mar 2012, 03:58 PM
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 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 23 Mar 2012, 04:16 PM
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.
0
ALEX
Top achievements
Rank 1
answered on 25 Mar 2012, 09:45 AM
Hi Marin,

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

Regards,
Alex
Tags
Window
Asked by
ALEX
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
ALEX
Top achievements
Rank 1
Share this question
or