protected void btnPrint_Click(object sender, EventArgs e)
{
Response.ContentType = "Application/doc";
Response.AppendHeader("Content-Disposition", "attachment;filename=xyz.doc");
Response.TransmitFile(Server.MapPath("~/x/xyz.doc"));
Response.End();
btnProceed.Enabled = true;//not working
}
The server side control attributes are not working in this code block.How to enable a button as in this case upon the file download completion inside the same code block.