Hi, Friend i am also facing same problem, i read so many web sites there is no way to use server side reader.
so i used simple way like i hide the tool bar of adobe reader with using margin-top property in css
<style type="text/css">
.pnl1
{
margin-top:-550px;
}
</style>
<script type="text/javascript">
window.onload= function fun1()
{
var ristrictSite = navigator.userAgent;
if (ristrictSite.match("Chrome")) {
window.open("../Default.aspx", "_self");
}
return true;
}
</script>
<body>
<asp:panel id="pnlPdfHrBook" runat="server" backcolor="White" xmlns:asp="#unknown">
</body>
code at behind page:
====================
string pdfUrl = "policiesBook.pdf";
pnlPdfHrBook.Controls.Add(new LiteralControl("<object id='pdfFrame' style='margin-top:-50px;' height='600px' width='950px' data='" + pdfUrl + "'> </object>"));
this is working success fully but
if we are open this pdf in Google Chrome then it will ask download option
so i restrict this on chrome