PdfViewer: Password protected documents cannot be opened
Workaround:
PdfFormatProvider provider = new PdfFormatProvider(); PdfImportSettings settings = this.radPdfViewer1.PdfViewerElement.ImportSettings; settings.UserPasswordNeeded += (s, a) => { a.Password = "1234"; }; provider.ImportSettings = settings; this.radPdfViewer1.LoadDocument(@"..\..\password.pdf");
Hello,
Use the suggested API for opening the PDF document.
Regards,
Dimitar
Progress Telerik
Тhe web is about to get a bit better!
The Progress Hack-For-Good Challenge has started. Learn how to enter and make the web a worthier place: https://progress-worthyweb.devpost.com.