Announcement

Collapse
No announcement yet.

Send data to controller and download file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Send data to controller and download file

    Hey guys,

    I am using ajaxPostRequest on button click to send data to custom method in controller witch creates a .xls (with PHPExcel).
    Problem is I want the created file to start downloading in the browser, but that dosent work with ajax.

    Any other way I could send data to that method so that i could get the 'save file' dialog?

    Thanks
Working...
X