title: How to get url parameter value of current route in view in ASP .NET MVC
body: <p>For example I am on page <code>http://localhost:1338/category/category1?view=list&amp;min-price=0&amp;max-price=100</code> </p>
  
  <p>And in my view I want to render some form</p>
  
  <pre><code>@using(Html.BeginForm("Action", "Controller", new RouteValueDictionary { { /*this is poblem place*/ } }, FormMethod.Get))
  {
      &lt;!--Render some controls--&gt;
      &lt;input type="submit" value="OK" /&gt;
  }
  </code></pre>
  
  <p>What I want is to get <code>view</code> parameter value from current page link to use it for constructing form get request. I tried <code>@using(Html.BeginForm("Action", "Controller", new RouteValueDictionary { { "view", ViewContext.RouteData.Values["view"] } }, FormMethod.Get))</code> but it doesn't help.</p>