<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thanks for considering Aspose.Slides.
You cannot do so unless you have an access to client computer. Actually, whether browser will display Open or Save dialog box, depends upon the settings of user’s computer.
You can try it, these are the steps
- Open My Computer.
- On the Tools menu (or the View menu), click Folder Options (or click Options).
- Click the File Types tab.
- In the Registered file types list, click "PPT Microsoft PowerPoint Presentation", and then click Advanced (or click Edit).
If you put a check next to "Confirm open after download", when the user clicks the link, they'll see a File Download dialog box and will be able to choose Open, Save or Cancel.
"Browse in same window" controls whether the file opens in the same or a new window, for example, when "Confirm open after download" is checked and the user clicks Open.
Then write this code in page load event of your APS.NET application and run it, you will see a slide show in browser
//Set the appropriate ContentType.
Response.ContentType = "Application/vnd.ms-powerpoint";
//Get the physical path to the file.
string FilePath = MapPath("source.ppt");
//Write the file directly to the HTTP content output stream.