by surbhi21sept » Mon Apr 11, 2016 12:59 pm
I have an mvc page where users can download an excel document. On Server side, i am converting the xml data to byte and fetch it as xls ,the logic reads the file, and changes its file extension to .xls . The problem is that the default file type is still XML files, when users click SAVE As in MS Excel or Kingsoft SpreadSheet menu.I want deafult file ext. as Microsoft 97/2000/xp/2003 Workbook(.xls).How to do that.