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.