Can i use Response.Write() in try block of a aspx Page in ASP.NET
<pre><code>try
{                         
    Response.Write("&lt;script language='javascript' type='text/javascript'&gt;");
    Response.Write("window.opener.parent.SetDocumentValues();
    Response.Write("self.close();");
    Response.Write("&lt;/script&gt;");
}
catch (System.Web.Services.Protocols.SoapException ex)
{
    throw ex;
}
</code></pre>
