Server.Transfer does not work?
<p>I want to redirect to another page using Server.Transfer and I have this simple code:</p>

<pre><code>if (Page.IsPostBack)
   {
     try
     {
       Server.Transfer("AnotherPage.aspx");
     }
     catch (Exception)
     {                                
       throw ;
     }
    }
</code></pre>

<p>But I'm getting an error: "Error executing child request for AnotherPage.aspx.". Could not find the solution on the net. </p>

<p>Just to mention, Response.Redirect works flawlessly. </p>
