title: Html.pagedListPager possible?
body: <p>I am new to mvc and I am converting webforms to sitecore 8. I wanted to use pagedlist library. My code is pretty straight forward. On submission it renders on the correct page but when the paging is clicked it is redirecting me to </p>
  
  <pre><code>    /api/sitecore/controller/action?parameters 
  </code></pre>
  
  <p>out of the current layout. I've been looking around for 2 days now. </p>
  
  <pre><code>       @Html.PagedListPager(Model, page =&gt;  Url.Action("Display",
      new {page, sortorder = ViewBag.CurrentSort, filteroption = ViewBag.CurrentFilter})) 
  </code></pre>
  
  <p>Is there any other way or any sitecore equivalent?</p>
  
  <p>I've looked into speak.mvc config and commented it..And it still appends that /api/sitecore/  </p>
  
  <p>Thank you in advance</p>
  
  <p>same topic here <a href="https://stackoverflow.com/questions/30467064/razor-mvc-partialview-pagination-url-action-how-to-define-specified-url">Razor MVC partialview pagination url action, How to define specified url?</a></p>
  
  <p>But no answer and his question is not clear.</p>