How can open pdf file from a folder in my application and disable the options of saving it so that the users can see it as read only but inside a frame.
please help
Imports System.Web.UI.WebControls
Imports System.Web.UI
Imports System.Web
Imports System.Linq
Imports System.Collections.Generic
Imports System
Public Partial Class CS
Inherits System.Web.UI.Page
Protected Sub Page_Load(sender As Object, e As EventArgs)
Dim pdfUrl As String = "E:" & vbNullChar & "dfreadonly/Coding Standards.pdf"
pdfiframe.Attributes("src") = pdfUrl + "#embedded=true&toolbar=0&navpanes=0"
End Sub
End Class
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div>
<iframe runat="server" id="pdfiframe" frameborder="1" src="" class="auto-style3"></iframe>
</div>
</asp:Content>