Spire.XLS for .NET is a professional Excel .NET library that can be used to any type of .NET( C#, VB.NET, ASP.NET, .NET Core) application and Java (J2SE and J2EE) application.

Fri May 31, 2013 10:33 am

how to open pop up asking for open or save when we want to save an excel file.
could you please let me know

Posts: 12
Joined: Thu May 16, 2013 10:42 am

Mon Jun 03, 2013 11:13 am

Dear chaitanya,

Thanks for your inquiry.
Are you working in asp.net web application? If so, please try SaveToHttpResponse() method, and then you will get a dialog box which is asking for open or save. I attached sample code below. If not, please tell us the platform you are working.

Code: Select all
 Workbook workbook = new Workbook();
            workbook.Worksheets[0].Range["A1"].Text = "Hello Word";

E-iceblue support team.
User avatar

Posts: 2416
Joined: Wed Jun 27, 2012 8:50 am

Thu Jun 06, 2013 9:21 am


Has the code provided by Amy resolved the issue? Could you please update the thread if convenience?

If there are any questions, welcome to get it back to us.

E-iceblue support team
User avatar

Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Return to Spire.XLS