<script type="text/javascript" language="JavaScript"> function OpenWord(strFile) { var myApp = new ActiveXObject("Word.Application"); if (myApp != null) { myApp.Visible = true; myApp.Documents.Open(strFile); } } </script> </body>
protected void btnOpen_Click(object sender, EventArgs e) { Response.Redirect("Yourdoc.pdf"); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)