title: ASP.Net MVC Redirect out of a partial view from controller to a full view from a different controller
body: <p>Ok. So I have an issue where I need to do some authorization checks inside the controller action.</p>
  
  <p>There are authorization roles, but it can exist that someone has TypeOnePayment, but not TypeTwo</p>
  
  <pre><code>[Authorize(Roles = "TypeOnePayment;TypeTwoPayment")]
  public ActionResult EnterRevenue(PaymentType payment)
  {
      payment = "TypeOne"; // This exists for show only.
      var permission = string.Concat(payment,"Permission");
      if (!SecurityUtility.HasPermission(permission))
      {
          return View("Unauthorized", "Error");
      }
      return this.PartialView("_EnterRevenue");
  }
  </code></pre>
  
  <p>But since this is returning the partial view, the "Error" screen only appears in the partial view portion of the page. Is there a way to redirect to an entirely new page?</p>
  
  <p>EDIT: EnterRevenue is being retrieved through an ajax call. So just the html is being returned and it's being placed in the view it was called from.</p>