Hyperlink in PDFViewer from Memory Stream

7 posts, 0 answers
  1. Angie
    Angie avatar
    2 posts
    Member since:
    Jul 2012

    Posted 31 Jul 2012 Link to this post

    I upgraded to Q2 2012 SP1 to take advantage of the new features with the PDF viewer.  After the upgrade, I am having trouble getting hyperlinks to work with a memory stream.  When I click the Open button and select a document, the hyperlinks work as expected.  When I bind the viewer from a memory stream, the hyperlinks do not work.  The memory stream is initialized with a byte array of a document stored in the database.  When I manually open a document for the viewer, I am using the same document used to as the byte array. Also, the document I am opening manually was created from the byte array. 

    <fixed:PdfDocumentSourceValueConverter x:Key="PdfDocumentSourceValueConverter" /> 
        
    <telerik:RadPdfViewer DocumentSource="{Binding DocStream, Converter={StaticResource PdfDocumentSourceValueConverter}}" /> 

    Is this a limitation of using a memory stream or the PdfDocumentSourceValueConverter? 

    Is this a limitation of using a memory stream or the PdfDocumentSourceValueConverter? 
  2. Kammen
    Admin
    Kammen avatar
    312 posts

    Posted 02 Aug 2012 Link to this post

    Hi Angie,

    We have tried to reproduce this issue, but everything seems to work as expected.

    Is it possible to open a support ticket with working demo that reproduces this issue in order to investigate the problem and try to find the solution that best fits your needs?

    Looking forward to your reply.

    Kind regards,
    Kammen
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Angie
    Angie avatar
    2 posts
    Member since:
    Jul 2012

    Posted 02 Aug 2012 Link to this post

    Yes, I will do that shortly.  Thanks for your response. 
  5. Mulham
    Mulham avatar
    5 posts
    Member since:
    Mar 2007

    Posted 16 Jun 2013 Link to this post

    Hello,
    I have the same problem with PDFViewer control (2013-Q1-SP1). When you try to open a pdf document through code, then the hyperlinks won't work. If you try to open the document from the toolbar button, using the built-in command, then everything works fine. How do we solve this?
    You can actually try that on your sample applications. If you try to open a pdf document with hyperlinks using "First Look" or "Thumbnails" samples then the hyperlinks are there and do work just fine. But They won't work in "RadBook Integration" or any other application that uses a custom code to perform the open operation.

    Help please :)
  6. Kammen
    Admin
    Kammen avatar
    312 posts

    Posted 19 Jun 2013 Link to this post

    Hi Mulham,
    We have tried to reproduce this issue, but everything works as expected. Could you open a support ticket and send us sample project that illustrates this issue?

    Note that FixedDocumentViewerSinglePagePresenter (that is used in RadBook integration) does not support selection, hyperlinks, etc and this is the reason links are not working in RadBook Intergration demo.

    Regards,
    Kammen
    Telerik

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  7. Tony
    Tony avatar
    24 posts
    Member since:
    Nov 2011

    Posted 02 Aug 2013 Link to this post

    I have this same issue as well. Can this get addressed? I am having to research other viewers because of this bug.

    It's disappointing that the only response Telerik gives is "We cannot reproduce this issue." Its obviously an issue since multiple people in the community are experiencing this bug.
  8. Kammen
    Admin
    Kammen avatar
    312 posts

    Posted 06 Aug 2013 Link to this post

    Hi Tony,

    We agree that there is probably such a problem since there are several reports of the issue.

    We have tried to reproduce it, but with no success. You can find attached one of the test projects that we used, and attempt to reproduce the problem there.

    This said, unfortunately until we manage to reproduce the issue, there is no way to address it - i.e. fix the bug if there is such, suggest a different approach for showing the documents, etc.

    If you can help us by sending a sample project that illustrates the behavior on your end, we will do our best to solve it as soon as possible. 

    We are sorry for the inconvenience and we are looking forward to your reply.


    Regards,
    Kammen
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top
DevCraft banner