Fileresult not downloading file ajax
User posted Did you try to show all. Make sure the image is in the directory and include. User posted I did not tried the other option User posted yes option 2 showing image on page worked , like showing image on page Only when i refreshed it!! User posted Can you provide more details, rather than saying it doesn't work - I want download option?
For download, here is modified version, tested locally on my machine and it works. Friday, July 18, PM. User posted if there is no exception but nothing is being returned to the client.
Thursday, July 24, AM. User posted here is my json scrip and it comes on debugger, and only issue is now in IE it does all as expected and works in all browser except IE. User posted Since ie doesn't support json implicitly, you have to mention JsonRequestBehavior. Connect and share knowledge within a single location that is structured and easy to search. You won't be able to use JavaScript to save the file to disk as this is blocked for security reasons.
An alternative would be to save the file in the FinaliseQuote action method and return just an id for the file , then create another action method that responds to a GET request and returns the file. In your success function you then set window. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more.
Asked 6 years, 5 months ago. Active 6 years, 5 months ago. Viewed 21k times. UnescapeDataString quote ; return File finalisedQuote. Improve this question. Re: My vote of 5 winsonet Aug Thank you for your support. Can u please share the code of "Utility. Member Copy Code Can u please share the code of " Utility. WriteDataTableToExcel" function. Thanks Majid Qafouri Jan Majid Qafouri. Awesome work!!! Keep it up Thanks from Argentina MarceloGuy Sep You code helped me so much.
Thanks genius. Marcelo Guy.