Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 930819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T20:24:00+00:00 2026-05-15T20:24:00+00:00

I have a requirement where i want to load pdf document in a web

  • 0

I have a requirement where i want to load pdf document in a web page from a physical path. The pdf document location is not inside my website directory. To elaborate on this with example: Let assume my virtual directory refers to “c:\website”. I have all my pdf documents stored under different folder called c:\pdfDocuments”. On one of my web page i want to load my pdf document from c:\pdfdocuments. Is there way to pass the absolute path in this case (c:\pdfdocuments\x.pdf) to frame control’s src attribute.

Thanks
CS

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T20:24:01+00:00Added an answer on May 15, 2026 at 8:24 pm

    No, you cannot do that unless the C:\pdfdocuments is also a website; and in that case you would need to pass in the URL that relates to that physical path.

    Keep in mind that the frame, or other html element, is trying to load the contents of the file accross the internet from the browser to your server. The browser on the clients end has no knowledge nor access to your physical filesystem, only what is exposed via the web server.

    Now, if you’re trying to load this on the server side, then you should be able to use the physical path as long as the worker process has access permissions to that path. But based on the question “.. to frame control’s src attribute.” I’m assuming you’re referring the the client side html.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a requirement that before the page is going to load i want
We want to capture the page load times from server to client and not
I have a ASP.Net web page with a grid view. I want to filter
i have a button, i want to show to user in page load normal
i have a requirement, i want to take URL of image from user and
I have a requirement: I want to call method every day at any particular
I have a requirement that I want to check the request headers and according
I have a requirement that i want to get all the system services running
I have a requirement in sharepoint where I want to Create the top link
My requirement is that I want an object (tee) to update if there have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.