protected void CmdSave_Click(object sender, EventArgs e) { Response.Clear(); Response.ContentType = "application/octet-stream"; Response.AddHeader("Content-Disposition", @"attachment; filename=""XmlFile.html"""); Response.Flush(); Response.End(); }
protected void CmdSave_Click(object sender, EventArgs e) { Response.Clear(); Response.ContentType = "application/octet-stream"; Response.AddHeader("Content-Disposition", @"attachment; filename=""XmlFile.html"""); Response.Flush(); Response.End(); }