Private Sub Button1_Click(ByVal sender As _System.Object, ByVal e As System.EventArgs) _ Handles Button1.Click
Response.Write("<script>window.open" & "(test.aspx,'_new','width=400,height=200');</script>")

End Sub

i am using the above code for opening a aspx page in a new window

it works fine

but i am getting a popup blocker . how do i avoid it thr code

or any other way where in there is no hinderence of popup blocker