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();
请帮助我,对不起任何错误