Free Support Forum -

Save As In Browser

When I send the excel doc to the browser and the user chooses Save As to save it to there computer is there anyway I can set the default filename for the Save As?

You can specify the filename in the save method. For example,

excel.Save(“Mybook.xls”, SaveType.OpenInBrowser, FileFormatType.Default, this.Response);

When I do that the Save As Defaults to "Form_Manager.aspx"

Basically whatever the page name is.

Do you mean that users open file in browser first, then choose “Save as”? In this case, the default file name cannot be specified in Aspose.Excel. It’s handled by IE.


We are using OpenInExcel now which works perfectly.