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

Rad Window to Open Pdf

6 Answers 404 Views
Window
This is a migrated thread and some comments may be shown as answers.
Ricky
Top achievements
Rank 2
Ricky asked on 26 May 2008, 11:41 PM
Hi All

I want to open a pdf file wiithin a Rad Window, Is that possible? I am currently opening the pdf file from the database and that is always opeing in new window.

If any one can help please!

thanks
Rick

6 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 27 May 2008, 08:17 AM
Hi,

Go through the following forum link which discuss a similar scenario.
Pdf in radwindow

Princy.
0
Ricky
Top achievements
Rank 2
answered on 27 May 2008, 11:39 PM
Hi Princy,

Thanks for your help, it was really helpful.

Rick
0
Dhamodharan
Top achievements
Rank 1
answered on 14 Nov 2011, 04:13 PM
Hi All,

I am using this code. but in IE borwser radwindow not display the PDF. but Firefox browser working file. how to fix this problem..

Please chekc my code and let me know ASAP.

 <telerik:RadWindow EnableShadow="true" Behaviors="Move, Close" ID="rwLegend" Title="Legend"
                    Opacity="100" VisibleStatusbar="false" DestroyOnClose="true" Skin="Web20"
                    VisibleOnPageLoad="false" runat="server" Width="700px" Height="700px" >
                    <ContentTemplate>
                        <iframe id="iframe3" runat="server" width="600px" height="600px" src="Document.pdf"></iframe>
                        <telerik:RadTextBox ID="txtBox1" runat="server"></telerik:RadTextBox>
                    </ContentTemplate>
                </telerik:RadWindow>
                <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>

Thanks,
Dhamu.
0
Princy
Top achievements
Rank 2
answered on 15 Nov 2011, 07:02 AM
Hello,

You can set ShowContentDuringLoad as true. Here is the sample code.
ASPX:
<telerik:RadWindowManager ID="RadWindowManager1" runat="server">
 <Windows>
  <telerik:RadWindow ID="RadWindow1" runat="server" VisibleOnPageLoad="true" ShowContentDuringLoad="true">
   <ContentTemplate>
     <iframe id="iframe3" runat="server" width="600px" height="600px" src="../RadGridExport.pdf">
     </iframe>  
   </ContentTemplate>
  </telerik:RadWindow>
 </Windows>
</telerik:RadWindowManager>

Thanks,
Princy.
0
Matt
Top achievements
Rank 1
answered on 10 Oct 2014, 05:50 PM
The link that Princy provided does not work anymore.  Is there an updated link available?

Matt
0
Marin Bratanov
Telerik team
answered on 13 Oct 2014, 12:25 PM

Hi Matt,

The old forum (related to the "Classic" version of the suite that has not been supported since 2009) is no longer available, yet I can suggest the following:

If neither helps, I advise that you open a support ticket and send us a sample that shows the problem you are having.


Regards,

Marin Bratanov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Window
Asked by
Ricky
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 2
Ricky
Top achievements
Rank 2
Dhamodharan
Top achievements
Rank 1
Matt
Top achievements
Rank 1
Marin Bratanov
Telerik team
Share this question
or