Author: stuie | Posted on: 1/4/2010 5:29:25 AM | Views : 441



Hi,
This is my first post here so hope its in the right place.


I am trying to download an excel file from a server using the following code



Response.ClearContent() Response.AppendHeader("Content-Disposition", "attachment; filename=" & file.Name) Response.AddHeader("Content-Length", file.Length.ToString) Response.ContentType = "application/vnd.ms-excel" Response.TransmitFile(file.FullName) Response.End()This is being handled in a button click event. This works in both Chrome and Firefox but in IE this just closes the browser!
Can anyone suggest where i might be going wrong?


Thanks in advance

...

Go to the complete details ...