Script manager is unable to open aspx page in new window in c#
<p>below is my Code</p>

<pre><code>protected void btnprnt_Click(object sender, EventArgs e)
{
    //Response.Redirect("Print.aspx");

    string url = "Print.aspx?ID=1&amp;cat=test";
    string script = "window.open('" + url + "','')";
    if (!ClientScript.IsClientScriptBlockRegistered("NewWindow"))
    {
        //clientScript.RegisterClientScriptBlock(this.GetType(), "NewWindow", script, true);
        ScriptManager.RegisterClientScriptBlock(this,this.GetType(), "NewWindow", script, true);
    }

   }
</code></pre>

<p>Problem is my Print.aspx is not open in new window.<br>
the page is open but not in new window.
even page is redirecting.</p>
