I am using Q1 2016 version of telerik
I have a binding for my Document source using MVVM light
This is my XAML code :
<telerik:RadPdfViewer Grid.Row="1" HorizontalAlignment="Stretch" Name="pdfViewer" VerticalAlignment="Top"
DocumentSource="{Binding DocumentPdf}" />
and here is my code :
public CotisationPdfVm(string url)
{
DocumentPdf = new PdfDocumentSource(new Uri(url), FormatProviderSettings.ReadOnDemand);
}
private PdfDocumentSource _documentPdf;
public PdfDocumentSource DocumentPdf
{
get { return _documentPdf; }
set
{
_documentPdf = value;
RaisePropertyChanged(() => DocumentPdf);
}
The url is
The document remains blank. No exception.
When I put a breakpoint in the set of my property the I have: IsStreamLoaded = false
The url is "http://109.88.185.2:60000/Reports/Cotisation/2017/CotisationReportVANDEVOORDEN Patrick-354-2017.pdf"
The uri is "http://109.88.185.2:60000/Reports/Cotisation/2017/CotisationReportVANDEVOORDEN%20Patrick-354-2017.pdf"
When I try with a browser (IE) with the same uri I can read the document.