What steps will reproduce the problem?
1. I am using AlivePDF in my FLex3 code, to generate PDF file, It works with
IE, but not working in my Fire fox browser.
2. Using C# as code behind file which is as below
3. protected void Page_Load(object sender, EventArgs e)
{
if (Request.QueryString["method"] != null && Request.QueryString["name"] != null)
{
string method = Request.QueryString["method"];
string name = Request.QueryString["name"];
byte[] data = Request.BinaryRead(Request.TotalBytes);
Response.ContentType = "application/pdf";
Response.AddHeader("Content-Length", data.Length.ToString());
Response.AddHeader("Content-disposition", method + "; filename=" + name);
Response.BinaryWrite(data);
Response.End();
Response.Flush();
}
}
4.It works proper in local host , I need to upload file in the server and
access from there.
please let me know
Thanks in advance,
Chandrasekhar.D
Original issue reported on code.google.com by chandude...@gmail.com on 17 Nov 2010 at 11:46
Original issue reported on code.google.com by
chandude...@gmail.com
on 17 Nov 2010 at 11:46