Aspose.Cells 5.1.1.0 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
);

Hi,


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.


Thanks,

Hi,

Aspose.Cells.ContentDisposition is an Enumeration.

It require

Namespace: Aspose.Cells

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

Thanks,

sample application is attached.

Thanks.

Hi,

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

Thanks,

Hi,

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.

Zhen