title: How to get url parameter from current route in asp.net mvc?
body: <p>I have a route like this:</p>
  
  <pre><code>http://localhost/c/61/legetoj
  </code></pre>
  
  <p>its defined as:</p>
  
  <pre><code> routes.MapLocalizedRoute("Category",
                          "c/{categoryId}/{SeName}",
                          new { controller = "Catalog", action = "Category", SeName = UrlParameter.Optional },
                          new { categoryId = @"\d+" },
                          new[] { "Nop.Web.Controllers" });
  </code></pre>
  
  <p>Now, on all the pages having this url, I want to get SeName value (here is `legetoj')</p>
  
  <p>In my <strong>view</strong> (header) I've tried this with: <code>ViewContext.RouteData.Values["SeName"]</code>
  but it returns empty..</p>
  
  <p>Do you know what I am doing wrong?</p>