无异步的 js = "window.parent.onComplete(" + System.Convert.ToString(uploadInfo.State != "Stop").ToLower() + ");"; } ScriptManager.RegisterStartupScript(this, typeof(progressUploads), "progress", js, true);
有异步的 ScriptManager.RegisterStartupScript(UpdatePanel1, typeof(UpdatePanel), "success", "alert('更新成功')", true);