title: Url redirecting in ASP.NET MVC 4 Mobile application
body: <p>I am using ASP.NET MVC 4 Mobile application, in which I am trying to redirect to an external website. However its failing with "Error loading page" message.</p>
  
  <pre><code>public void RedirectToGoogle()
  {
      Response.Redirect("http://www.google.com");
  }
  </code></pre>
  
  <p>Also I see the following script in _Layout.cshtml which is created automatically while creating the application.</p>
  
  <pre><code>&lt;script&gt;
      $(document).bind("mobileinit", function() {
         // As of Beta 2, jQuery Mobile's Ajax navigation does not work in all cases (e.g.,
         // when navigating from a mobile to a non-mobile page, or when clicking "back"
         // after a form post), hence disabling it.
         $.mobile.ajaxEnabled = false;
     });
  &lt;/script&gt;
  </code></pre>
  
  <p>I tried changing $.mobile.ajaxEnabled to true, but no success.</p>
  
  <p>Any thoughts on how to do url redirecting in ASP.NET MVC 4 Mobile application?</p>