This is a migrated thread and some comments may be shown as answers.

Hyperlink in PDFViewer from Memory Stream

6 Answers 259 Views
PDFViewer
This is a migrated thread and some comments may be shown as answers.
Angie
Top achievements
Rank 1
Angie asked on 31 Jul 2012, 10:26 PM

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? 

6 Answers, 1 is accepted

Sort by
0
Kammen
Telerik team
answered on 02 Aug 2012, 11:15 AM
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.

0
Angie
Top achievements
Rank 1
answered on 02 Aug 2012, 03:47 PM
Yes, I will do that shortly.  Thanks for your response. 
0
Mulham
Top achievements
Rank 2
answered on 16 Jun 2013, 12:29 PM
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 :)
0
Kammen
Telerik team
answered on 19 Jun 2013, 10:25 AM
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.

0
Tony
Top achievements
Rank 1
answered on 02 Aug 2013, 04:09 PM
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.
0
Kammen
Telerik team
answered on 06 Aug 2013, 11:21 AM
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 >>
Tags
PDFViewer
Asked by
Angie
Top achievements
Rank 1
Answers by
Kammen
Telerik team
Angie
Top achievements
Rank 1
Mulham
Top achievements
Rank 2
Tony
Top achievements
Rank 1
Share this question
or