How to open a new window in asp.net?
I want to open a new window when I click a button. I used the code.
Response.Write("<script type='text/javascript'>detailedresults=window.open('YOURPAGE.aspx','_blank');</script>")
It behaves like a popup, but it does not work in IE 7.0 and Chrome. Please help me solve this problem. Thanks in advance.
+3
3 answers