title: How can I get the current page number in GridMvc?
body: <p>I am developing MVC application in which I have used GridMvc, 
  Now I am trying to use skip and take on index view. But here I want to get the current page number in the view, which means I would need to pass it from the view (where pagination is handled) to the controller (where I need it). But how can I get the page number in the controller, or how can I pass a variable back up the chain?</p>
  
  <p>Here is the code for my index view, where the pagination is handled</p>
  
  <pre><code>@model IEnumerable&lt;Epay.ViewModel.PurchaseOrderVM&gt;
  @using GridMvc.Html
  
     @Html.Grid(Model).Columns(columns =&gt;
     {
         columns.Add(c =&gt; c.PoNo).Titled("PO No").SetWidth(200);
         columns.Add(c =&gt; c.PoDate).Format("{0:dd-MMM-yy}").Titled("PO Date").SetWidth(150);
         columns.Add(c =&gt; c.CompanyName).Titled("Company").SetWidth(500);     
     }).WithPaging(10).Sortable(true)
  </code></pre>
  
  <p>And here is the code for the controller, where I am trying to get the page number</p>
  
  <pre><code>public ActionResult Index()
      {
       PurchaseOrderService POService = new PurchaseOrderService();
       var POList = POService.GetAll();
        return View(POList); 
      }
  </code></pre>