title: How to use Html.MvcSiteMap().Menu() with dynamic parameter?
body: <p>I am using MvcSiteMapProvider 4.6.3, MVC 4.</p>
  
  <p>I want to use Html.MvcSiteMap().Menu() to generate the menu.</p>
  
  <p>The problem is I have multiple parameters in the URLs, which is changed based on user and document id.</p>
  
  <p>My Sitemap looks like:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;mvcSiteMapNode title="Home" controller="Home" action="Index"&gt;
    &lt;mvcSiteMapNode title="Site Map Test" controller="SitemapTest" action="Index" area="" key="sitemaptestnode"&gt;
      &lt;mvcSiteMapNode title="Sub1" controller="SitemapTest" action="Sub1" area="" /&gt;
      &lt;mvcSiteMapNode title="Sub2" controller="SitemapTest" action="Sub2" area="" /&gt;
    &lt;/mvcSiteMapNode&gt;
  &lt;/mvcSiteMapNode&gt;
  </code></pre>
  
  <p>These actions need different parameters.</p>
  
  <pre class="lang-cxx prettyprint-override"><code>    public ActionResult Index(string id, string clientId)
      {
          return View();
      }
  
      public ActionResult Sub1(string id, string productId)
      {
          return View();
      }
  
      public ActionResult Sub2(string id, string staffId)
      {
          return View();
      }
  </code></pre>
  
  <p>I try to use the Html helper to generate the Menu.</p>
  
  <pre class="lang-cxx prettyprint-override"><code>@Html.MvcSiteMap().Menu(node, false, false)
  </code></pre>
  
  <p>So if I am on the Index page. And the Menu should be </p>
  
  <p>SitemapTest/Index/product1?clientId=clientId2</p>
  
  <p>SitemapTest/Index/client1?productId=product2</p>
  
  <p>SitemapTest/Index/client1?staffId=staffId1</p>
  
  <p>These ids are getting from database. </p>
  
  <p>Is there a way to pass the parameter to the Html help to specify which Id to use for each link?</p>