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();
请帮助我对任何错误感到抱歉