so after pressing the button, it will pop out a dialog box to allow me to save the workbook to the local drive. the problem is, if i want to save the workbook again by pressing the button, the dialog box doesn't pop up again. Only after i refresh the page, i'm able to press the button to generate the dialog box again. is there a way for me to allow a user to press the button multiple time to generate the dialogbox to save?
Well, I think your issue is not concerned to Aspose.Cells component rather a default behavior of the browser type. Aspose.Cells uses Response object in the background while retrieving the Excel spreadsheet on the client side. For confirmation, please do not involve Aspose.Cells component/APIs while retrieving the file, you should get the similar issue. You may replace the line of code with:
e.g
Sample code:
/Send workbook to response/
OoxmlSaveOptions xSaveOptions = new OoxmlSaveOptions(SaveFormat.Xlsx);