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 8216097
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T12:00:53+00:00 2026-06-07T12:00:53+00:00

Is there a way to use a pdf viewer with jquery mobile and asp.net

  • 0

Is there a way to use a pdf viewer with jquery mobile and asp.net mvc? I want to grab a pdf file and display it in my mobile site. I think I am suppose to use jquery mobile for my controls but I am not sure how to apply a pdf viewer. My mobile site is created using asp.net mvc and jquery mobile

Am I looking at this correctly?

  • 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-06-07T12:00:55+00:00Added an answer on June 7, 2026 at 12:00 pm

    You can simply return the file using the File method of Controller class. If the client has a PDF reader, everything will be fine.

    public ActionResult ShowFile()
    {
      string path="FullPAthTosomefile.pdf";
      return File(path, "application/pdf","someFriendlyName.pdf");
    }
    

    You can return the file from a stream & byte array also. There are so many overloads for these scenarios.

    When accessing this action method in a browser,the file-stream result object will be rendered to the browser. You do not need a separate view for this.

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

Sidebar

Related Questions

Is there a way to stream a file using ASP.NET MVC FileContentResult within the
Attempting to use asp.net mvc's Action Result of File. So it would seem that
I was wondering if there was a way to use jQuery to find out
I want to use MigraDoc/PdfSharp to create and store PDF documents. Is there a
Is there a way to use Zend_Search_Lucene to search/index PDF documents?
Is there any way to get a pdf from an access database and display
Is there any way to use Google's API to retrieve a user's current zipcode
Is there a way to use the win32clipboard module to store a reference to
Is there a way to use lapply() in a manner that forces it to
Is there a way to use a different css for Android than is used

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.