6 Answers, 1 is accepted
0
Princy
Top achievements
Rank 2
answered on 27 May 2008, 08:17 AM
0
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.
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:
Thanks,
Princy.
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
Matt
0
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:
- make sure the ShowContentDuringLoad property is set to false because if IE
- make sure the browser has a plugin that can display a PDF in an iframe
- examine those threads:
- or this more generic search: https://www.google.bg/search?q=pdf+in+radwindow.
If neither helps, I advise that you open a support ticket and send us a sample that shows the problem you are having.
Regards,
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.