Rad Window to Open Pdf

7 posts, 0 answers
  1. Ricky
    Ricky avatar
    68 posts
    Member since:
    Dec 2007

    Posted 26 May 2008 Link to this post

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

    Posted 27 May 2008 Link to this post

    Hi,

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

    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ricky
    Ricky avatar
    68 posts
    Member since:
    Dec 2007

    Posted 27 May 2008 Link to this post

    Hi Princy,

    Thanks for your help, it was really helpful.

    Rick
  5. Dhamodharan
    Dhamodharan avatar
    300 posts
    Member since:
    Sep 2010

    Posted 14 Nov 2011 Link to this post

    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.
  6. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 15 Nov 2011 Link to this post

    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.
  7. Matt
    Matt avatar
    32 posts
    Member since:
    May 2013

    Posted 10 Oct 2014 in reply to Princy Link to this post

    The link that Princy provided does not work anymore.  Is there an updated link available?

    Matt
  8. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3595 posts

    Posted 13 Oct 2014 Link to this post

    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.

     
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017