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

Free Support Forum - aspose.com

In FireFox- the resultant file extension becomes .aspx


When using aspose.pdf in firefox, it exports as .aspx and not .pdf. works fine in IE. No error message is displayed but it is trying to open it as an .aspx file which the actual extension of the page from which i am trying to generate this PDF.

the project sits behind a login…but the code is

pdf1.OpenType = OpenType.Auto 'pdf1.Save() pdf1.Save("", SaveType.OpenInAcrobat, Response)


Thanks for using our products.

I have tested the scenario while using Aspose.Pdf for .NET 6.6.0 and as per my observations, a proper file download dialog is displayed when using FireFox as well as in IE. I have used the following code snippet to test the scenario. Can you please share which version of product you are using and also share some details regarding your working environment. I have tested it over Windows 7 Professional using VisualStudio 2010 Enterprise application. We are really sorry for this inconvenience.


Pdf pdf = new Pdf();
pdf.OpenType = OpenType.Auto;
Section sec = pdf.Sections.Add();
sec.Paragraphs.Add(new Text("Hello World"));
pdf.Save("MyTestFile.pdf", SaveType.OpenInAcrobat, Response);