Java script method is not firing when I am opening excel file through c# codeHi,
I have java script method to display a pop message. it is working proper in normal code.
In one scenario after displaying this pop up message I need to open an excel with c# code.
In this scenario my pop up (java script method not firing) is not coming.
I am using below code
Response.AddHeader("Content-Disposition", "attachment; filename=" + file.Name);
Response.ContentType = "application/octet-stream";
Please help me on this.