title: Response.Redirect fails when Trace is turned off
body: <p>I have this weird thing going on in my application. </p>
  
  <p>At the moment, I have <code>'Trace="true"</code> on my <code>aspx</code> directive and all <code>Response.Redirect()</code> codes are working fine. But as soon as I remove this directive, all the <code>Response.Redirect</code> go to the Home page of the site.</p>
  
  <p>Any help will be appreaciated.</p>
  
  <p>Here's the code:</p>
  
  <p><code>protected void SearchSubmit_Click(object sender, EventArgs e) {
  Response.Redirect( "~/?view=Search+results&amp;search=" + Server.UrlEncode(SearchText.Text), true);
  }</code></p>
  
  <p><code>protected void AdvSearchSubmit_Click(object sender, EventArgs e) {
  string filtertype = ""; if (rbFilter.SelectedValue != "") filtertype = "&amp;f=" + rbFilter.SelectedValue; Response.Redirect("~/?view=Search+results&amp;search=" + HttpUtility.UrlEncode(advSearchText.Text) ); 
  }</code></p>