GURUCHANDRAN M

GURUCHANDRAN M

  • NA
  • 10
  • 423

Regards Downloading

Jun 1 2018 5:05 AM
Dear Friends,
 
i have a piece of code below 
  1. Response.ClearHeaders();  
  2. Response.Buffer = false;  
  3. Response.Clear();  
  4. Response.ContentType = contentType;  
  5. Response.AddHeader("Content-Disposition""attachment; filename=" + FileName);  
  6. Response.AddHeader("Content-Length", mybytes.Length.ToString());  
  7. Response.WriteFile(Server.MapPath("~/Page/BillTrack/Files/" + FileName));  
  8. 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?

Answers (1)