0

according to the link Web Api won't download file using jQuery Ajax and Basic Auth whitch solution have helped me a lot , i wanted to ask question: why the confirmation to user about opening/saving file doesn't show its name(export_gui) but the controller name(in IE: downloadget; in chrome: "הורד 6" without extension xls)?

thanks

Community
  • 1
  • 1
  • i found the solution: add this row to DownloadController Get method:result.Content.Headers.ContentDisposition.FileName = fileName; – user2695455 May 08 '14 at 09:23

1 Answers1

0

i found the solution: add this row to DownloadController Get method:result.Content.Headers.ContentDisposition.FileName = fileName;