how to open pdf file into radwindow

4 posts, 0 answers
  1. Dhamodharan
    Dhamodharan avatar
    300 posts
    Member since:
    Sep 2010

    Posted 10 Nov 2011 Link to this post

    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.
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 10 Nov 2011 Link to this post

    Hello Dhamu,

    The following forum discussed the same.
    pdf in RadWindow.

    Thanks,
    Shinu.
  3. Dhamodharan
    Dhamodharan avatar
    300 posts
    Member since:
    Sep 2010

    Posted 14 Nov 2011 Link to this post

    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.
  4. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 15 Nov 2011 Link to this post

    Hello Dhamu,

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

    -Shinu.
Back to Top