开发者

implementing ASP.NET-ajax download - which way is better?

开发者 https://www.devze.com 2023-03-09 21:36 出处:网络
I want to implement an ASP.NET-ajax downloader, and got across two alternatives for doing so. http://encosia.com开发者_JS百科/ajax-file-downloads-and-iframes/ with the use of IFRAMEs and http://archi

I want to implement an ASP.NET-ajax downloader, and got across two alternatives for doing so.

http://encosia.com开发者_JS百科/ajax-file-downloads-and-iframes/ with the use of IFRAMEs and http://archive.msdn.microsoft.com/AjaxFileDownload with the use of MS-Ajax Library.

My question is, which of the two ways is better, and why? What should I consider when implementing this?


Use the iframe approach and avoid Microsoft AJAX JavaScript library because it's considered obsolete in favor of jQuery.

Do so with jQuery and AJAX, and the so-called iframe.

0

精彩评论

暂无评论...
验证码 换一张
取 消