G
Guest
I'm developing an interface that sends a file to the client. it works but
the client also gets an "Action canceled" page (IE) how can I remove this
page? or display the application home page?
thank you!
the conde is in the Page_Load sub:
Response.Clear()
Response.AddHeader("Content-Length",
DownloadFile.Length.ToString())
Response.ContentType = "application/octet-stream"
Response.AppendHeader("Content-Disposition", "attachment;
filename=" & FileName)
Response.TransmitFile(DownloadFile.FullName)
Response.Flush()
Response.Close()
the client also gets an "Action canceled" page (IE) how can I remove this
page? or display the application home page?
thank you!
the conde is in the Page_Load sub:
Response.Clear()
Response.AddHeader("Content-Length",
DownloadFile.Length.ToString())
Response.ContentType = "application/octet-stream"
Response.AppendHeader("Content-Disposition", "attachment;
filename=" & FileName)
Response.TransmitFile(DownloadFile.FullName)
Response.Flush()
Response.Close()