Yuvatha Posted March 24, 2014 Report Posted March 24, 2014 Dim filePath As String = Server.MapPath(path) Dim fileInfo As System.IO.FileInfo = New System.IO.FileInfo(filePath)Response.ContentType = "application/octet-stream"Response.AddHeader("Content-Disposition", String.Format("attachment;filename=\""{0}\""", fileName))Response.AddHeader("Content-Length", fileInfo.Length.ToString)Response.WriteFile(filePath)Response.End ----- idi kakunda inka vere emina methods unaya for writing to web browser? thala noppi aindi ee issue..it works in IE10/Mozilla/Chrome..na karma kaali, ma users ie8 vadutharu anta
Recommended Posts