Hello
I have an asp.net page and when the user clicks on a link to a word document I want to open this in an iframe on the same page.
When I do this there is a dialog box with open save cancel
I don’t want this dialog box to appear.
I cannot change the client settings of the browser.
Is there a good way for doing this?
Thanks
Hi
Thanks for your inquiry. This is default behavior when you try open a document from browser and you cannot suppress showing this dialog.
However, if you need just display document preview on your page, you can use XPS, for example, to show preview of your documents. Please see the following link to learn more.
https://blog.aspose.com/2009/08/14/render-doc-ooxml-odt-rtf-and-html-documents-in-silverlight/
Another option to show preview is using images. You can convert document’s pages to Images and display them on your Web page.
Hope this helps.
Best regards.