Hi Team,
I have used below link functionality in my application.
It is working fine for other button postback but not for Download button click.
When i clicked on button it shows text as [Downloading.. ] but after file downloads it still rermains same as [Downloading..] and button in disabled state.
Once file donwloads button should comes in its normal format.
Below is my code.
string filePath = @"D:\PdfFile.pdf";
Response.ContentType = ContentType;
Response.AppendHeader("Content-Disposition", "attachment; filename=" + Path.GetFileName(filePath));
Response.WriteFile(filePath);
Response.End();