Ajax return file for download

When you use the Ajax call in ASP.NET MVC, you just can return a JSON object but not a file, if you want to do that, you need to create and save the file in server and return it's path to Ajax, after that, you can call a redirect link for download the file, because this is a temp file, so you should need to delete it after download.

4 Jul 2016 Hi,. I try to implement a simple export function in a backend list. If have put a button to the backend list form

How to manage second list box based on selection of first drop down using Ajax and PHP

Wp Ajax Book - Free ebook download as PDF File (.pdf), Text File (.txt) or read book online for free.

All rights reserved