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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T17:53:31+00:00 2026-05-22T17:53:31+00:00

FireFox Shows Pop up for open or Save Dialog. <iframe id=appFrame runat=server style=height: 95%;

  • 0

FireFox Shows Pop up for open or Save Dialog.

<iframe id="appFrame" runat="server" style="height: 95%; width: 100%; border: 0px;
                    z-index: -123;"></iframe>

I am using iframe to display word document,

document.getElementById("ctl00_GridContentPlaceHolder_appFrame").src = "ResponseWriter.aspx?docid=" + docId + "&doctype=" + docType + "&type=" + type;

I am calling ResponseWriter.aspx to write bytes it works well in IE but not in Firefox,Here is the code of ResponseWriter.aspx

        Response.ClearHeaders();
        Response.ClearContent();
        Response.AddHeader("MIME Type", type.Trim()); 
        Response.AppendHeader("content-disposition",
                "inline;attachment; filename=" + "Unknown." + docType);

        Response.AddHeader("Content-Length", _fileArray.Length.ToString());
        Response.Cache.SetCacheability(System.Web.HttpCacheability.NoCache);
        Response.ContentType = type.Trim();
        Response.BinaryWrite(_fileArray.ToArray());
        Response.End();

Can any one please help me.

  • 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-22T17:53:32+00:00Added an answer on May 22, 2026 at 5:53 pm

    This is probably because Office has installed some hooks into IE to support “in browser” viewing of Office documents, while Firefox, Chrome, etc. just send the bytes to the Office application.

    Without seeing more details of the way “ResponseWriter.aspx” is sending the bytes to the stream and what behaviour you’re seeing in Firefox, there’s not much more I can guess at the moment.

    As a point of note, you should probably look into using a request handler (.ashx) instead of the .aspx page – this has a cleaner model for these sorts of requests as it doesn’t use most of the page life-cycle.

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

Sidebar

Related Questions

Firefox has this nice find-a-text-on-the-page dialog, which is non-modal and shows up at the
There is no scroll bar when browsed with firefox, but it shows up in
Firefox 3 has introduced a new behavior in which line-height, when unset, differs from
I am using a jquery dialog to pop up a dialog. What happens when
I am using @font-face and I hate that Firefox shows the default font, waits
I am using a jQuery UI Dialog to pop-up some supplementary information on one
I need to open a pop-out window, then after close pop-out window (refresh a
When you drag a picture from Firefox to Windows Explorer, Explorer shows Firefox's drag
This .show and .hide works great in Firefox 3 but not in IE 7.
Firefox 3.5 does not allow creating java OBJECT tag with Javascript (document.write)? this technique

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.