title: HTTP POST Request not Working in ASP.NET MVC 4
body: <p>I have created a simple MVC application and have created html table in view. When i click on hyperlink under this table it does not take me to the [HttpPost] method and goes to [HttpGet] default method. Please take a look on my table placed in view portion of my mvc application.</p>
  
  <pre><code>@model   Mvc.Affiliates.Models.Products
  @{
      ViewBag.Title = "Index";
      Layout = "~/Views/Shared/_Layout.cshtml";
  }
  &lt;h2&gt;Details&lt;/h2&gt;
  &lt;div style="height: 200px; width: 500px"&gt;
      &lt;h1&gt;This is Content page &lt;/h1&gt;
  
      @using (Html.BeginForm("Index", "Home", FormMethod.Post))
      {
            &lt;table  border="1" style="width:550px;"&gt;
            &lt;tr&gt;
                  &lt;th&gt;&lt;a href="#" data-sortfield="CustomerID"&gt;Job Id&lt;/a&gt;&lt;/th&gt;
                  &lt;th&gt;&lt;a href="#" data-sortfield="CompanyName"&gt;Job Name&lt;/a&gt;&lt;/th&gt;
                  &lt;th&gt;&lt;a href="#" data-sortfield="ContactName"&gt;Create Date&lt;/a&gt;&lt;/th&gt;
              &lt;/tr&gt;
  
              @foreach (var item in Model.JobList)
              {
               &lt;tr&gt;
                 &lt;td width="50px"&gt;@item.JobId&lt;/td&gt;
                  &lt;td width="200px"&gt;@item.JobName&lt;/td&gt;
                  &lt;td width="200"&gt;@item.CreateDate&lt;/td&gt;
  
               &lt;/tr&gt;
              }
  
          &lt;/table&gt;
          &lt;br /&gt;
          &lt;table border="1" style="width: 550px; "&gt;
            @{ 
               int i = Model.JobList.Count;
               i = i / 10;
               i = i + 1;
  
                &lt;tr&gt;
                 &lt;td width="450"&gt;
                  @for(int n = 1; n &lt;= i; n++)
                  {
                   @Html.ActionLink(n.ToString(), "Index", "Home", new { id = n});
                   @Html.Raw(" ");
              }
                 &lt;/td&gt;
                &lt;/tr&gt;
            }  
          &lt;/table&gt;      
      }
  &lt;/div&gt;
  </code></pre>
  
  <p>So my above view @Html.ActionLink() is not working well. Please anyone help that how can i force my ActionLink to go into <code>[HttpPost]</code> method. </p>
  
  <p>EDIT:
  I have pasted complete view above. I am actually creating gridview with paging and when i click on page number (whcih is an ActionLink in numeric values) i need to run [HttpPost] method, thanks.</p>