We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.Cells is missing workbook.Save(response- filename- contentDisposition- saveOptions)

want to let user open the excel sheet in Microsoft Excel when the button is clicked.

But I got a compile error: ContentDisposition does not exists in the namespace ‘Aspose.Cells’

public void Save(
HttpResponse response,
string fileName,
ContentDisposition contentDisposition,
SaveOptions saveOptions


Thank you for considering Aspose.
We are looking in to this issue. Can you please forward us your sample application? This will help us finding the issue.



Aspose.Cells.ContentDisposition is an Enumeration.

It require

Namespace: Aspose.Cells

Assembly: Aspose.Cells (in Aspose.Cells.dll)


sample application is attached.



We have tested all is working fine. Please find the sample application attached.



Well, if you are building a web application, please use the Aspose.Cells.dll in the net2.0 directory.

The dll in net3.5_ClientProfile directory is used only for the console application with Net frame client profile. It is possible that you are using this dll? For complete reference, please check the readme.txt in the bin directory.

Thank you.

Thanks, that's the problem. I was using dll in net3.5_ClientProfile directory for web application.

Thanks for the help.