This is a migrated thread and some comments may be shown as answers.

display local pdf file in radwindow

3 Answers 113 Views
HTMLPlaceHolder
This is a migrated thread and some comments may be shown as answers.
Ruonan
Top achievements
Rank 1
Ruonan asked on 09 Aug 2012, 04:31 PM

HTMLPlaceHolder>
Hi there,  

I want to upload a local pdf file and display it in a telerik radwindow. I am using I want to upload a local pdf file and display it in a telerik rad window. I am using html placeholder. how should I set my sourceurl so I can display this uploaded local file in the window?

thanks!

Ruonan

3 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 14 Aug 2012, 08:34 AM
Hello Ruonan,

It's better to use the RadPdfView control to display the pdf file in the RadWindow. Please have a look at this demo as it can get you started. Let us know if have more questions.

Regards,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Ruonan
Top achievements
Rank 1
answered on 28 Aug 2012, 05:10 PM
Hi there, 

thanks for  your reply. 
my company is not using the most recent telerik version, so i think the radpdfviewer is not available for me. I am using 
telerik:RadHtmlPlaceholder instead. the only problem is it use the same setting with local pdf tool. there are too many stuff on the toolbar, which is my default adobe setting. may i know if there is a way to remove that from code behind?thanks!

Ruonan 
0
Tina Stancheva
Telerik team
answered on 31 Aug 2012, 09:18 AM
Hi Ruonan,

 Unfortunately the RadHtmlPlaceHolder has no control over the way the PDF files are displayed in the browser. However, you can use the approach described here. I hope this info will help you.

Regards,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
HTMLPlaceHolder
Asked by
Ruonan
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Ruonan
Top achievements
Rank 1
Share this question
or