Using the following code as reference:
Dim pdf As Aspose.Pdf.Pdf = New Aspose.Pdf.Pdf
'Instruct to delete temporary image files.
pdf.IsImagesInXmlDeleteNeeded = True
'Produce the PDF file.
pdf.Title = “Correction Letter”
pdf.Security = New Aspose.Pdf.Security
pdf.Security.IsContentsModifyingAllowed = False
pdf.Security.IsCopyingAllowed = False
pdf.OpenType = Aspose.Pdf.OpenType.Auto
pdf.Save(“Correction Letter”, Aspose.Pdf.SaveType.OpenInBrowser, Me.Response)
I don’t have an error, but the user is prompted three times - once to open the document and again to save the document somewhere and a third time to actually open the document in the browser. The second option is very confusing to the user…even after saving the document the user is once again prompted to open or save the document. Only after choosing open after the Third popup message box does the document open in the browser.
What is the procedure to just open the document, auto open in the browser, without the second save option? Is this something that can be done in code?