string filepath = Serverpath + validfile; System.IO.FileInfo file = new System.IO.FileInfo(filepath); Response.AddHeader("Content-Disposition", "attachment; filename=" + file.Name); Response.AddHeader("Content-Length", file.Length.ToString()); Response.ContentType = "application/octet-stream"; Response.WriteFile(file.FullName); btnCreate.Enabled=true;/// this is not happening.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)