Hi Akshay,
Here's a page in ASP.NET 2.0 that shows one way to accomplish what you need.
Let us know if it helps?
Ken
Microsoft MVP [ASP.NET[
<%@ Page Language="VB" %>
<script runat="server">
Protected Sub Button1_Click _
(ByVal sender As Object, ByVal e As System.EventArgs)
ClientScript.RegisterStartupScript _
(Me.GetType, "popup", "window.open('" & _
TextBox1.Text & "','_blank','menubar=no')", True)
End Sub
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Popup Demo</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:textbox id="TextBox1"
runat="server">http://www.kencox.ca/</asp:textbox><br />
<asp:button id="Button1" runat="server" onclick="Button1_Click"
text="Open" /> </div>
</form>
</body>
</html>
"akki" <ak*************@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
i am developing a webform in which there is a preview button.On
pressing the button, I have to open a new window and display another
aspx page there.Can anyone tell me how to do it? Response.redirect
opens the new page in the same window.
Akshay