Dear Friends,
i have a piece of code below
- Response.ClearHeaders();
- Response.Buffer = false;
- Response.Clear();
- Response.ContentType = contentType;
- Response.AddHeader("Content-Disposition", "attachment; filename=" + FileName);
- Response.AddHeader("Content-Length", mybytes.Length.ToString());
- Response.WriteFile(Server.MapPath("~/Page/BillTrack/Files/" + FileName));
- Response.End();
A file will be download - automatically but i need to hide the download bar..
How to hide download bar using C# code or any other javascript?