Hi Dridi,
This syntax will work only if the document is embedded in the project as a Resource. This option embeds the file into the application and makes it accessible for it.
In order to show the dynamically added documents, you could read the files using the
.NET API, import the document with the PdfFormatProvider and then pass it to the PdfDocumentSource. More information and examples about how to import files you can find in our
documentation.
Hope this helps.
Regards,
Tanya
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items