Viewing PDF documents

4 posts, 0 answers
  1. NrupalC
    NrupalC avatar
    11 posts
    Member since:
    Apr 2010

    Posted 18 Nov 2010 Link to this post


    I am getting an unsupported exception when converting a pdf document into a RadDocument. Here is the setup I am currently using.

    1. Pdf file is embeded in XAP and I would like to show it in Silverlight (or show the generic 'Open', 'Save' and 'Cancel' dialog, which I have realized is not possible with a file embedded in the XAP).
    2. Using Application.GetResourceStream to get to the stream. (I have checked the stream and it looks fine with lots of bytes... :))
    3. Using DocumentFormatProvidersManager.GetProviderByExtension(extension)n to get the IDocumentFormatProvider.
    4. I get the right format provider which is pdf.
    5. on  doing provider.Import(stream) i get a NotSupportedException.
    6. I have referenced all the dlls from telerik for silverlight (just being safe, this is a test app only anyway).

    Any help is appreciated.

    And it would be great if anyone out there knows how to show the generic 'Open', 'Save' and 'Cancel' dialog of a browser for a file in the silverlight xap (NOT with a http url)

    Thanks in advance


  2. Boby
    Boby avatar
    638 posts

    Posted 19 Nov 2010 Link to this post

    Hello NrupalC,

    PDF importing/visualization is not supported for now. It's in our to-do list, but we don't have specific timeline.
    Let us know if you have any other questions or proposals.

    Sincerely yours,
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  3. Tim Tos
    Tim Tos avatar
    36 posts
    Member since:
    Apr 2010

    Posted 20 Jul 2011 Link to this post

    Hello there!

    Any news when it will be perhaps possible to view pdf documents?
    That would be soooooooooooo awesome!!!

    Thanks for any information!
    All the best and greetings,
  4. Iva Toteva
    Iva Toteva avatar
    1319 posts

    Posted 22 Jul 2011 Link to this post

    Hello Tim Tos,

    We are already considering implementing a PDF viewer for Silverlight, however, due to time constraints, we're not sure exactly when it will be available.
    I am creating a PITS issue regarding this item, which you can use to track our development plans:
    You can follow the PITS Issue by its ID: 7075 
    Here you can find the PITS Issue: Public URL 

    Best wishes,
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top