Select and copy

4 posts, 1 answers
  1. ayyappa
    ayyappa avatar
    6 posts
    Member since:
    Aug 2014

    Posted 06 Aug 2014 Link to this post

    Hi There,

    I'm using a rad window to display pdf. Can we customize the mouse events such as click inside of a rad window, if it can, How?
  2. Answer
    Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 06 Aug 2014 Link to this post

    Hi Ayyappa,

    Using the built-in plugin of the browser to show the PDF files (i.e., using the NavigateUrl property set to a PDF file) is a feature taht is entirely controlled by the browser plugin. When an iframe element (the RadWindow) is loaded with a PDF file, the DOM (window.document) is not available with the well known DOM events, therefore there is no available client-side API that could let you control the user actions happened on window (the browser window) loaded with a PDF content.

    On a side note, there is the pdf.js library that is commonly used to render PDF files in the browser using an entirely third-party client-side library. More about integrating this library with the Telerik controls explained and demonstrated in this blog post.

    Regards,
    Ianko
    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. ayyappa
    ayyappa avatar
    6 posts
    Member since:
    Aug 2014

    Posted 06 Aug 2014 in reply to Ianko Link to this post

    Thank you Lanko
  5. ayyappa
    ayyappa avatar
    6 posts
    Member since:
    Aug 2014

    Posted 06 Aug 2014 in reply to Ianko Link to this post

    Thank You lanko, But is there any other way to display the pdf without using pdf.js library where we can control the environment?
Back to Top