title: asp.net response.redirect hitting url, but not changing browser page
body: <p>I have an aspx page (webforms) that is called from a jQuery Post method (which works fine), however the Response.Redirect method from the code behind does not reload the browser with the redirected URL. It does actually hit the URL, however. 
  I'm pretty sure this has something to do with the page being called from jQuery, but not sure why this behavior is happening.</p>
  
  <pre><code>protected void Page_Load(object sender, System.EventArgs e)
  {
      if (!Page.IsPostBack)
      {
          //lid = Validation.StripToGUID(ObjToGUID(Request.QueryString("lid")))
          lid = Validation.StripToGUID(ObjToGUID(Request.Form["lid"]));
          string sid = null;
          if (lid.Length == 36)
          {
              //retrieve the link (and product data) from the database
              LiveItem_Data.DBConnStr = ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString;
              LiveItem o = new LiveItem();
              o = LiveItem_Data.GetLive_ItemFromLID(lid);
  
  
              if (HTTPStuff.RemoteFileExists(o.product_link))
              {
                  Response.Redirect(o.product_link, true);
              }
              else
              {
                  //generate an error                 
              }
  
  
          }
  
      }
  }
  </code></pre>
  
  <p>I stepped through the code and the product_link is working (manually cutting and pasting into a browser), and the remote page is being called (I'm testing the link with another site that has logging).
  The browser however does not open (tried FF, IE, Opera, Chrome) the new URL.</p>
  
  <p>The jQuery post:</p>
  
  <pre><code>$('.popInfoHG').click(function () {
      var ListID = $(this).parent().find('[id*=hidlid]').val();
      $.post("redir.aspx", { lid: ListID });
  });
  </code></pre>
  
  <p>I verified that HTTPredirect feature is turned on in IIS Express (from Visual Studio 2012). Stumped!</p>