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

How do I catch errors when loading using a PdfDocumentSource

3 Answers 47 Views
PDFViewer
This is a migrated thread and some comments may be shown as answers.
Henrik Skak Pedersen
Top achievements
Rank 1
Henrik Skak Pedersen asked on 21 May 2013, 09:39 AM
Hi,

I was recommended to load pdf documents using a PdfDocumentSource instead of using a WebClient.

this.pdfViewer.DocumentSource = new PdfDocumentSource(uri);

But how do I now catch errors which might occur while loading? That was easy using the WebClient, but the PdfDocumentSource seams to swallow all exceptions.


Thanks
Henrik.

3 Answers, 1 is accepted

Sort by
0
Kammen
Telerik team
answered on 22 May 2013, 12:48 PM
Hello Henrik,

At the moment PdfDocumentSource handles all errors silently. We have logged a task to expose those errors to the clients, but we have not scheduled it yet. It is highly possible this task to be scheduled for the Q3 or earlier - Q2 SP1 as it has high priority.

Hope this answers your question.

Regards,
Kammen
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Henrik Skak Pedersen
Top achievements
Rank 1
answered on 22 May 2013, 01:51 PM
Ok, thank you. Can I somehow be notified when it has been fixed?

Thanks
Henrik
0
Alexander
Telerik team
answered on 24 May 2013, 03:09 PM
Hi Henrik,
Here is a link to our Public Issue Tracker System about the problem, where you can track the changes about it. You also can vote about the problem to raise its priority.

Regards,
Alexander
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
PDFViewer
Asked by
Henrik Skak Pedersen
Top achievements
Rank 1
Answers by
Kammen
Telerik team
Henrik Skak Pedersen
Top achievements
Rank 1
Alexander
Telerik team
Share this question
or