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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T03:15:51+00:00 2026-06-11T03:15:51+00:00

I have a site that lists customer letters, and when a letter’s view button

  • 0

I have a site that lists customer letters, and when a letter’s “view” button is clicked it uses JavaScript (window.open(url)) to open a new window to get the .pdf file, which I think is generated by crystal reports.

  • In IE8 on Windows XP it works
  • On Windows 7 it opens a blank page with the correct url, but it doesn’t try and open the file
  • In any other browser on either OS it works
  • The machine has the latest Adobe Reader installed

In Win7/IE8 once the blank page is opened, if you then click on the url and hit enter, it will request the file again and correctly open it. I’ve looked at the requests with fiddler and they’re exactly the same.

I’m setting the mime type to “application/pdf” and inline to true in the content-disposition header.

I can kludge it by returning a view that just sets window.location = url, but it feels awful.
Is this a known issue? Is there any way to make it work in both IE versions?

  • 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-11T03:15:53+00:00Added an answer on June 11, 2026 at 3:15 am

    Still no idea why there’s the disparity between the two versions, but instead of JavaScript I’m now using target="_blank" on the element and that’s done the trick.

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

Sidebar

Related Questions

I have a site content type that was used for a handful of lists
I have a site that lists business listings from a database. On each page
I have a site that lists movies. Naturally people make spelling mistakes when searching
I have a site that uses a couple DropDownLists that are databound. I was
I have a search page on my MVC site that contains a list of
So I have site list on certain pages that basically just have links to
I have items in a list in a SharePoint 2003 site that I need
I have a PHP script that retrieves list of urls from a site and
I have a site where there will be a list of offers that the
I have a list of individual redirects that move users (and google) from abc.site.com/page/name

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.