title: Asp.net get submit method not working when url is mapped
body: <p>I have a asp.net mvc form and i want to submit it to same page via get method, it's used for search purpose.</p>
  
  <p>The url is mapped with route key value id.</p>
  
  <pre><code>@using (@Html.BeginForm("Contact", "Home",FormMethod.Get))
  {
      @Html.TextBox("id", null,
              new
              {
                  type = "time"
              }
                  );
      &lt;input type="submit" /&gt;
  }
  </code></pre>
  
  <p>When the form is generated the <strong>action</strong> attribute is containing the key value like <strong>/Home/Contact/myname</strong>.</p>
  
  <p>Here <strong>myname</strong> is value of id present in url.</p>
  
  <p>When form is submitted value key value for id is getting appended to URL like</p>
  
  <p><a href="http://localhost:57247/Home/Contact/myname?id=11%3A11" rel="nofollow">http://localhost:57247/Home/Contact/myname?id=11%3A11</a></p>
  
  <p>The action method is reading myname value instead of <strong>11%3A11</strong>.</p>
  
  <p>Action Method:</p>
  
  <pre><code>public ActionResult Contact(string id)
  {
     ViewBag.Message = id;
     return View();
  }
  </code></pre>
  
  <p>It's working fine with post method.</p>
  
  <p>How to fix this?</p>