How do I catch errors when loading using a PdfDocumentSource

4 posts, 0 answers
  1. Henrik Skak Pedersen
    Henrik Skak Pedersen avatar
    16 posts
    Member since:
    Nov 2006

    Posted 21 May 2013 Link to this post

    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.
  2. Kammen
    Admin
    Kammen avatar
    312 posts

    Posted 22 May 2013 Link to this post

    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.

  3. DevCraft banner
  4. Henrik Skak Pedersen
    Henrik Skak Pedersen avatar
    16 posts
    Member since:
    Nov 2006

    Posted 22 May 2013 Link to this post

    Ok, thank you. Can I somehow be notified when it has been fixed?

    Thanks
    Henrik
  5. Alexander
    Admin
    Alexander avatar
    41 posts

    Posted 24 May 2013 Link to this post

    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.

Back to Top