title: Ajax not allowing View rendering
body: <p>I have a couple of variations on the ajax depending on the flow of interactions on the page. But it's only the variables that changes. here is one of them: </p>
  
  <pre><code>$('#btn_skickaEnkel').bind('click', function () {
          $.ajax({
              type: 'POST',
              url: '/Contact/IntresseAnmälan/',
              dataType: 'json',
              data: {
                  Namn: $('#namn').val(),
                  Mail: $('#mail').val(),
                  Info: $('#meddelande').val(),
                  Nivå: $('#nivå').find(":selected").text(),
                  IsEnkel: true,
                  Telefon: $('#nr').val(),
                  ID: function () {
                      var url = window.location.pathname;
                      var id = url.substring(url.lastIndexOf('/') + 1);
                      return id;
                  }
              },
              traditional: true
          });
      });
  </code></pre>
  
  <p>In my controller i am unable to redirect or return a different view. At this point the data from JSON is no longer relevant because it's already been saved to DB. </p>
  
  <p>My Controller: </p>
  
  <pre><code> public ActionResult IntresseAnmälan(BokningContainer bokning)
      {
          db = new DbContext();
  
          //Saving some data to database(removed)
  
          //Just determening the state of container obj.
          if (bokning.IsEnkel)
          {
  
              //Geting som information from db (removed)
  
              //Creating a mail (removed)
              email.Send(bokning.Namn, bokning.Mail, body);
  
          }
          else
          {
  
          }
  
          //db.SaveChanges(); 
  
          //This part is not working, I think it's beacuase of the Ajax
          return View("IntresseAnmälan"); 
      }
  </code></pre>
  
  <p>The view is not rendered and I think it's related to the ajax. The view is simply not rendered. Is there some way to force returning it and ignoring the ajax? As I said the data is no longer needed because the content is already saved to the DB. </p>