Click here to Skip to main content
12,752,835 members (39,098 online)
Rate this:
Please Sign up or sign in to vote.
See more: C#
i am making a document viewer. in that i want to open PPT document in iframe,so user can just see it.

i used this code
<iframe id="myframe" src=""></iframe>
code behind i used
in page load
but its not displaying my ppt file

Please help me soon ..
Posted 18-Dec-12 18:36pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I'm not sure why you think it should. I am pretty sure there's no standard browser functionality to display PPT files.
Member 9305115 19-Dec-12 7:08am
Thanks for Replying sir
But Sujjest me To display ppt files what can i use instead of iframe
Christian Graus 19-Dec-12 14:52pm
If you want to show them in a web page, you might decide to show them in an iframe ( which is just another browser instance on the same page ), but your browser needs to know how. So you'd need to buy a plugin and all your users would need to install it. Or you'd have to find a way to turn a ppt in to HTML, and serve the HTML to the browser, probably also via a commercial plugin

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170217.1 | Last Updated 18 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100