Try this in ASP.NET 2.0?
<%@ Page Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<script runat="server">
protected void Button1_Click(o bject sender, EventArgs e)
{
Page.ClientScri pt.RegisterStar tupScript
(this.GetType() , "pdf", "window.open('h ttp://research.micros oft.com"
+
"/~awilson/papers/Wilson%20PlayAn ywhere%20UIST%2 02005.pdf');", true);
}
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitl ed Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:button id="Button1" runat="server" onclick="Button 1_Click"
text="Button" /></div>
</form>
</body>
</html>
Let us know if it helps?
Ken
Microsoft MVP [ASP.NET]
"ABC" <ab*@abc.com> wrote in message
news:eh******** ******@TK2MSFTN GP11.phx.gbl...
I want click a button and than to popup window which will show my one PDF
file. How should I to coding in C#?