This question is locked. New answers and comments are not allowed.
Hello
i use PdfViewer in a RadWindow (V 2012.1.215.1050).
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.
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.OpenReadCompleted+=client_OpenReadCompleted;
client.OpenReadAsync(
new
Uri(GlobalPage.DocumentsFolderUrl + PdfDocument));
}
private
void
client_OpenReadCompleted(
object
sender, OpenReadCompletedEventArgs e)
{
try
{
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.