Opening an HTML or MHTML doc in an iframe

Hello,

I'd like to open an Aspose Words report in HTML format in an iframe, or take the generated HTML and dump it into a placeholder on an ASPX page. I got this to work in IE, but it still wants to open the page in a new browser window in Firefox. Is this possible, and are there any examples I could look at?

thanks!

Carolyn


This message was posted using Aspose.Live 2 Forum

Hi Carolyn,

Thanks for your inquiry.

Could you please attach your code and ASPX page here for testing? We will provide you with some futher feedback.

Thanks,

I found another solution. I open the doc as a PDF in the iframe and use ContentDisposition.Inline instead of ContentDisposition.Attachment. Solution attached.

Hi Carolyn,

It's great you were able to find the solution to your problem.

If you have any further queries, please feel free to ask.

Thanks,