title: MVC4 - Register is partial view but on success should Redirect to a new Full Page
body: <p>I have a Partial View for Register.</p>
  
  <pre><code>@using (Ajax.BeginForm("Register", 
                         new AjaxOptions { HttpMethod = "post", 
                                           InsertionMode = InsertionMode.Replace, 
                                           UpdateTargetId = "loginForm" }))
  </code></pre>
  
  <p>The Controller:  </p>
  
  <pre><code>[HttpPost]
  [AllowAnonymous]
  [ValidateAntiForgeryToken]
  public ActionResult Register(RegisterModel model)
  {
          if (ModelState.IsValid)
          {
             Guid activationGUID = Guid.NewGuid();
             if (UserManager.Register(model.Email, model.FullName, model.Password, activationGUID))
                 return RedirectToAction("Index", "Dashboard");
             else
                 ModelState.AddModelError("", "This email already exists");
          }
  
          return PartialView(model);
    }
  </code></pre>
  
  <p><strong>On error</strong>,<br>
  I want the partial view to show the error message<br>
  The controller calls <strong>return PartialView(model);</strong> ...and that works !!!</p>
  
  <p><strong>On success</strong>,<br>
  I want the entire page to refresh (instead than the UpdateTargetId specified on the ajax call).
  The controller calls <strong>return RedirectToAction("Index", "Dashboard");</strong> ...and that fails !!! </p>
  
  <p>Instead I'm getting the Dashboard form inserted into the UpdateTargetID.<br>
  What am I doing wrong??? </p>