Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

Displaying A PDF Document Inside A Silverlight UserControl RSS

18 replies

Last post May 02, 2012 11:07 AM by nileshsathvara

(0)
  • Shilpi Gupta

    Shilpi Gupta

    Member

    4 Points

    2 Posts

    Re: Re: Re: Displaying A PDF Document Inside A Silverlight UserControl

    Apr 16, 2009 03:44 AM | LINK

    Hello Reny,

     I have been working on same issue. Can you please send code for this

     Thanks in Advance

    Regards 

    Shilpi

  • Shilpi Gupta

    Shilpi Gupta

    Member

    4 Points

    2 Posts

    Re: Re: Displaying A PDF Document Inside A Silverlight UserControl

    Apr 16, 2009 03:46 AM | LINK

    Hello Reny, I have been working on same issue. Can you please send code for this Thanks in Advance Regards Shilpi
  • mepfuso

    mepfuso

    Contributor

    2055 Points

    401 Posts

    Re: Displaying A PDF Document Inside A Silverlight UserControl

    Apr 16, 2009 10:34 AM | LINK

    If you want to place it comfortably and properly into your Silverlight's page layout (i.e. resize it etc.), then there's a free HtmlHost control for Silverlight at

     

    http://www.divelements.co.uk/silverlight/tools.aspx

     

    with which you can load Html or anything the browser can display, i.e. also PDFs if Adobe's plugin installed. It of course also works with an iframe underneath but takes care of many quirks that come along with it and I have struggled with myself.

    ...: Between the iron gates of fate, the seeds of time were sown :...
  • kkzrx3x3

    kkzrx3x3

    Member

    2 Points

    8 Posts

    Re: Re: Displaying A PDF Document Inside A Silverlight UserControl

    Apr 23, 2009 08:14 AM | LINK

    Reny1983

    Thanks guys, I got it working :)

    Hey, i also doing something that need to float a html/aspx page over a silverlight control. can u send me your code? thanks
  • jay nanavati

    jay nanavati

    Contributor

    3517 Points

    668 Posts

    Re: Displaying A PDF Document Inside A Silverlight UserControl

    Apr 23, 2009 10:00 AM | LINK

     If you or your company can afford:

    http://www.amyuni.com/silverlight/article.php

    Above link has DLL that will enable your Silverlight application to open pdf

    right in your Silverlight app.

  • imran maniyar

    imran maniyar

    Member

    2 Points

    1 Post

    Re: Displaying A PDF Document Inside A Silverlight UserControl

    Nov 03, 2009 07:10 AM | LINK

     hello dude,

    the iframe works fine on http websites.

    but as soon as you switch to an https website other page disappears and only the page in iframe is displayed.

    can you please help me with this dude!!!

    silvelight iframe

  • p.rajbarath

    p.rajbarath

    Member

    2 Points

    1 Post

    Re: Re: Displaying A PDF Document Inside A Silverlight UserControl

    Dec 09, 2010 04:05 AM | LINK

     hey renny

               How u got pdf document inside silverlight user control... im new to this silveright 4.. pls give me more details... :) p.rajbarath@gmail.com

  • pdftron

    pdftron

    Member

    70 Points

    24 Posts

    Re: Displaying A PDF Document Inside A Silverlight UserControl

    Feb 03, 2011 10:03 PM | LINK

     

    PDFTron SilverDox will allow you to view and markup you PDFs in Silverlight 4+:

    http://www.pdftron.com/silverdox/samplecode.html

  • nileshsathvara

    nileshsathvara

    Member

    15 Points

    55 Posts

    Re: Displaying A PDF Document Inside A Silverlight UserControl

    May 02, 2012 11:07 AM | LINK

    hi

    i have one problem regarding your post , i have implemented and it is working files on my local pc but when i deploy with same application on localhost then it is given me error "

    HTTP Error 404.0 - Not Found

    The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

    Module IIS Web Core
    Notification MapRequestHandler
    Handler StaticFile
    Error Code 0x80070002
    Requested URL http://localhost:80/UploadedFiles/00A00A/CHATABBA193309251/DEMOGRAPHIC/04 User Profile.pdf
    Physical Path C:\inetpub\wwwroot\UploadedFiles\00A00A\CHATABBA193309251\DEMOGRAPHIC\04 User Profile.pdf
    Logon Method Anonymous
    Logon User Anonymous

    "

    so can you pls gide me what can i do to solve this error .

    thanks

    Nilesh Sathvara