Having Excel open in new window

using the cells - great stuff. All works great except that the excel sheet post back as my web page. Closing it closes my app.

What is my work around?

to be more clear:

I use the following to save/open the XLS file. It opens up in place of my runnng ASP.NET application instead of in it's own new browser window. Let me know if I need to provide any more info....

workbook.Save("ContEd_" + System.DateTime.Today.ToShortDateString() + ".xls",FileFormatType.Default,SaveType.OpenInExcel,System.Web.HttpContext.Current.Response);

jaime

Hi Jaime,

I am still not sure about your need.

Have you check sample code in our demos? Are they running well in your machine? And you can try OpenInBrowser option:

workbook.Save("ContEd_" + System.DateTime.Today.ToShortDateString() + ".xls",FileFormatType.Default,SaveType.OpenInBrowser,System.Web.HttpContext.Current.Response);