No PDF-Document via WebClient

2 posts, 0 answers
  1. Andreas Decke
    Andreas Decke avatar
    26 posts
    Member since:
    Oct 2007

    Posted 19 Feb 2012 Link to this post


    i use PdfViewer in a RadWindow (V 2012.1.215.1050).
    private void RadWindow_Loaded(object sender, System.Windows.RoutedEventArgs e)
       WebClient client = new WebClient();     
       client.OpenReadAsync(new Uri(GlobalPage.DocumentsFolderUrl + PdfDocument));
     private void client_OpenReadCompleted(object sender, OpenReadCompletedEventArgs e)
         pdfViewer.DocumentSource = new PdfDocumentSource(e.Result);
       catch (Exception exc)
         Error.Show(exc, ErrorTitle);

    the RadWindow opened shortly PDFViewer show the Busy-Image and my Application is hidden. After F5, the Application ready for run.
    Host for the Document is the Web-Application. Url of Document (http://localhost/GlobalManager/Data/Documents/Sample.pdf) is OK.
  2. Kammen
    Kammen avatar
    312 posts

    Posted 20 Feb 2012 Link to this post

    Hello Richard,

    We will be better able to debug the issue if we have a project demonstrating the issue. Can you send us a sample project that shows the problem?

    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top