2
    var StrPageName = "GPGeneration_Credit.ashx?UniqueID=" + __uniqueId + "&supplierID=" + supplierID + "&CreditID=" + OrderIds;
        window.open(StrPageName);
   // Here I want to detect that File download is Complete or not and then refresh the //page
        location.reload();

Please help me sorry for any mistake

Andy
  • 95
  • 1
  • 3
  • 14

1 Answers1

2

You can set cookie from server side that will indicate that file download is complete. There is some jQuery plugin for that

karaxuna
  • 26,752
  • 13
  • 82
  • 117