title: How to make a pager with MVCContrib and Razor?
body: <p>I have a pager as follows:</p>
  
  <pre><code>@using MvcContrib.UI.Pager
  @model MvcContrib.Pagination.IPagination
  
  &lt;p/&gt;
    @Html.Pager(Model).First("First").Last("Last").Next("Next").Previous("Previous")
  &lt;p/&gt;
  </code></pre>
  
  <p>Instead of displaying this:</p>
  
  <blockquote>
    Showing 1 - 10
    of 10841 First |
    Previous | Next |
    Last
  </blockquote>
  
  <p>It displays this:</p>
  
  <pre><code>&lt;div class='pagination'&gt;&lt;span class='paginationLeft'&gt;Showing 1 - 10 of 10841 &lt;/span&gt;&lt;span class='paginationRight'&gt;First | Previous | &lt;a href="/Home/Events?page=2"&gt;Next&lt;/a&gt; | &lt;a href="/Home/Events?page=1085"&gt;Last&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
  </code></pre>
  
  <p>I also downloaded a sample project from <a href="http://www.codeproject.com/KB/aspnet/Grid_Paging_In_MVC3.aspx?display=Print" rel="nofollow">codeproject</a>, but when I run it, I get the same problem.</p>
  
  <p>What could possibly be the problem? Can you guys help me out?</p>