Hello everyone,
After saving pdf files uploaded by AsyncUpload (using UploadedFile.SaveAs method), I could not view saved files' content in radwindow. However, if I changed the saved files with original files (have not been saved via AsyncUpload), the pdf files would be displayed properly in radwindow.
Do you have any ideas about my issue?
6 Answers, 1 is accepted
To preview pdf files you need to have 3rd part plugin like Adobe PDF plugin. If you don't have installed additional software you can use Telerik's Silverlight Pdf Viewer.
Regards,
Hristo Valyavicharski
Telerik
Hi Hristo,
I have Adobe reader installed. Actually, I can view the pdf files in radwindow but once the files are saved via AsyncUpload, radwindow is no longer able to display the uploaded files.
Regards,
Hristo Valyavicharski
Telerik
Yes, I am sure that I set the correct NavigateUrl. I even store 2 same files in 1 folder (2 different names): one file is the original pdf document, another file is saved via AsyncUpload. They have the same size but when I put 2 NavigateUrl to RadWindow, only the original one works, the saved file is blank on RadWindow (this one is not damaged since I still can open it seperately by Adobe Reader). I tested several times with different pdf files but all ended up with this issue.
Thanks.
Regards,
Hristo Valyavicharski
Telerik
HI Hristo,
When I created the sample project, I found solution for my issue. The reason for my issue is that I tried to open pdf files by their physical path which is not allowed in RadWindow. For more details about this issue, please check out this thread: http://www.telerik.com/forums/opening-local-file
Thank you very much for your support.