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

how to open pdf file into radwindow

3 Answers 258 Views
Window
This is a migrated thread and some comments may be shown as answers.
Dhamodharan
Top achievements
Rank 1
Dhamodharan asked on 10 Nov 2011, 10:11 AM
hi,

I have attached pdf file into database. if i click link i want to dispaly pdf file into radwindow.

Please give me a idea for this one.


Thanks,
Dhamu.

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 10 Nov 2011, 10:36 AM
Hello Dhamu,

The following forum discussed the same.
pdf in RadWindow.

Thanks,
Shinu.
0
Dhamodharan
Top achievements
Rank 1
answered on 14 Nov 2011, 04:20 PM
Hi Shinu,

I am using the same code. but IE not display the PDF. in firefox working fine.

 <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="http://localhost:2415/pdfshowradwindow/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
Shinu
Top achievements
Rank 2
answered on 15 Nov 2011, 08:37 AM
Hello Dhamu,

Try setting ShowContentDuringLoad for the RadWindow as true in order to resolve this issue.

-Shinu.
Tags
Window
Asked by
Dhamodharan
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Dhamodharan
Top achievements
Rank 1
Share this question
or