title: Return View Not show in the Layout
body: <p>I'm try to do some page showing in layout page. function running well. but return view not show.
  When I'm click button in  main page i need to show next page with some function in controller. Controller things going correct but it is not redirect to next view.</p>
  
  <p>Controller :</p>
  
  <pre><code>public ActionResult View(int id = 0)
          {
              User user = db.Users.Find(id);
              if (user == null)
              {
                  return HttpNotFound();
              }
              return View("View", user);
          }
  </code></pre>
  
  <p>View:</p>
  
  <pre><code>@model API.Entities.User
  
  @{
      ViewBag.Title = "View";
  }
  
  &lt;h2&gt;View&lt;/h2&gt;
  "Return Values Show here "
  </code></pre>
  
  <p>that controller hit the button click in main page. I use jquery method to track that button click,</p>
  
  <p>JQuery Method:</p>
  
  <pre><code>$(function () {
      $('#save').on('click', function () {
          var userID = $("#Agents").val();
          debugger;
          if (userID &gt; 0) {
              $.ajax({
                  type: 'POST',
                  url: '/User/AgentList',
                  data: { Id: userID },
                  success: function (dataI) {
  
                  }
              });
          }
          else {
              return false;
          }
  
      });
  });
  </code></pre>
  
  <p>please help me.,</p>