-3

Exported html table to xls file but the name of file is Unknown file.How to customize the name of exported file.

  • Do not ask questions without posting the code you have tried – Ruan Mendes Jul 04 '16 at 13:46
  • 1
    Possible duplicate of [How to set name of file downloaded from browser?](http://stackoverflow.com/questions/3102226/how-to-set-name-of-file-downloaded-from-browser) – Alex Jul 04 '16 at 13:48

1 Answers1

0

You set the filename header in the response that performs the download of said file:

filename="downloaded.xls"

See, How to set name of file downloaded from browser?

Community
  • 1
  • 1
Alex
  • 34,899
  • 5
  • 77
  • 90