<div>
I tried like below. How can I make it display in the page itself rather than opening with File Download Open/Save.
aspx:
<tr>
<td>
<asp:Button ID="Button1" runat="server" Text="Play PPTX" OnClick="Button1_Click" />
</td>
</tr>
C#,
protected void Button1_Click(object sender, EventArgs e)
{
Response.Write("<script>window.open('docs/Introduction.pptx');</script>");
}
</div>
Go to the complete details ...