How to implement a file download in ASP.NET AJAX

前端 未结 4 1362
-上瘾入骨i
-上瘾入骨i 2021-02-04 15:22

I would like to use standard ASP.NET file download response, like in other Stack Overflow question.

Response.ContentType = \"application/octet-stream\";
Respo         


        
4条回答
  •  说谎
    说谎 (楼主)
    2021-02-04 16:13

    Well, I have found nice blog post on Encosia which describe solution of this ASP.NET AJAX file download problem. It work really nice.

    http://encosia.com/2007/02/23/ajax-file-downloads-and-iframes/

提交回复
热议问题