title: PagedList.MVC Refresh Partial View
body: <p>I am calling a partial view with render action</p>
  
  <pre><code>@{ Html.RenderAction("GetEmployerJobs", "Job"); }
  </code></pre>
  
  <p>my GetEmployerJobs controller action looks like this</p>
  
  <pre><code>public ActionResult GetEmployerJobs(int? p, string id)
  {
      var jobs = repository.GetEmployerJobs(id);
  
      int pageSize = 1;
      int pageNumber = (p ?? 1);
  
      return PartialView("~/Views/Dashboard/Employer/_GetEmployerJobPartial.cshtml", jobs.ToPagedList(pageNumber, pageSize));
  }
  </code></pre>
  
  <p>And my partial view contains the pager</p>
  
  <pre><code>@Html.PagedListPager(Model, p =&gt; Url.Action("GetEmployerJobs", "Job", new { p }))
  </code></pre>
  
  <p>The call to GetEmployerJobs is a child action so it is not working, if i remove child action attribute, only the partial view is rendered upon pager click.</p>
  
  <p>How do i refresh this partial view after pager click, I looked around for options such as using AJAX but couldn't figure out how to implement it using PagedList.MVC</p>