Show files as content in a ASPXpage
I am trying to show files like excel/doc in a frame in the same page. E.g when i click on the file it should show the file content in left pane. I could able to show files like Image/PDF using IFRAME, but when i try to show files like Excel/doc. It's not showing the file content instead it is prompting with download options(OPEN/SAVE/CANCEL). I am using IE 8.0.
Is there any user control to show/Open the files and display the same in a frame/panel?
Please advise me.
Thanks in Advance.
Re: Show files as content in a ASPXpage
It is dependent on the browser of the person watching it.
If you want to display it, you'll have to turn the content into a web page.
Re: Show files as content in a ASPXpage
It may be possible :), but I would actually also advise against it, as that is overriding how things should work normally. :)
You could use VBScript, to open the file, then write the contents of that file to your page. Have a look here :
http://stackoverflow.com/questions/2...using-vbscript