AJAX下下载文件

ScriptManager.RegisterStartupScript(this, this.GetType(), "RegisterStartupScript"
                                        , String.Format("window.navigate('DownloadFile.aspx?path={0}');", Server.UrlEncode(filePath)), true);

你可能感兴趣的:(Ajax)