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

[Solved] Relative URLs with HtmpPlaceHolder

1 Answer 73 Views
HTMLPlaceHolder
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Terry
Top achievements
Rank 1
Terry asked on 18 Nov 2009, 09:53 PM
Hi:

Is there a way to specify a relative URL for PDF files in my XAP file?  Or does it have to be an absolute URL read from the Internet?

1 Answer, 1 is accepted

Sort by
0
Tihomir Petkov
Telerik team
answered on 19 Nov 2009, 09:00 AM
Hello Terry,

You can specify relative paths for your PDF documents but they have to be relative to the .xap file of your Silverlight application i.e. the HtmlPlaceholder cannot render documents embedded in your .xap file. Whatever path you set to the HtmlPlaceholder, you should be able to open it yourself in a browser. So, there is no need for the PDFs to be hosted remotely (on another server) - they can be part of the same web project that hosts your Silverlight application. Let me know if you have any other questions.

Kind regards,
Tihomir Petkov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
HTMLPlaceHolder
Asked by
Terry
Top achievements
Rank 1
Answers by
Tihomir Petkov
Telerik team
Share this question
or