Leon,
Thank you for responding.
I renamed the .aspx and aspx.cs so that at least the "save as" works a little better per your suggestion.
I have added Page.Title = "Address Results" to the Page_Load event, but it still doesn't work. I tried various locations. Here is what my page_load event looks like. Will you please compare it with yours? I have even tried setting name="Address Results".
Also, what version of AlivePdf are you using? I have 1.4.9.
protected void Page_Load(object sender, EventArgs e)
{
Page.Title = "Address Search";
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();
}
}
I know very little about asp.net so if I am missing something obvious, I apologize.
Thanks,
Carmen