title: asp.net mvc custom routes with multiple submit buttons
body: <p>So I have a custom route as such:</p>
  
  <pre><code>routes.MapRoute(
            "Wizard", // Route name
            "Wizard/{page}", // URL with parameters
            new { controller = "Wizard", action = "Index" }  // Parameter defaults
          );
  </code></pre>
  
  <p>and have the following on my View:</p>
  
  <pre><code>&lt;% Html.BeginForm("Continue", "Wizard"); %&gt;
      &lt;input type="submit" value="Continue" name="Continue" /&gt;
  &lt;% Html.EndForm(); %&gt;
  </code></pre>
  
  <p>In which I want to call this function:</p>
  
  <pre><code>    [AcceptVerbs(HttpVerbs.Post)]
      public ActionResult Continue(string Number, string Rev)
      {
          (...)
      }
  </code></pre>
  
  <p>but in turn when that button is pressed always calls the postback Index rather than the one I want.  If I remove the custom route, it calls my function, but what I want to be displayed in the address bar is:  localhost:xxxx/Wizard/1 where the number at the end is the page (div shown) of the wizard either 1, 2, 3, or 4.  So is there something I'm missing or can it not be done?  Thanks.</p>