title: Action does not get the value from Ajax ActionLink htmlAttribute
body: <p>I have an ajax actionlink where I pass a model and <em>actionattribute</em> as additional html attribute</p>
  
  <pre><code>@Ajax.ActionLink("Add action", "SomeAction", "SomeController", Model, new AjaxOptions() { InsertionMode = InsertionMode.Replace, UpdateTargetId = "SomePartial", HttpMethod = "POST" }, new { actionattribute = "a", @class = "new" })
  </code></pre>
  
  <p>The <em>actionattribute</em> attribute renders in html source code with the correct value.</p>
  
  <p>The <em>model</em> is passed nicely to the action but html <em>actionattribute</em> parameter comes empty instead of displaying the value <strong>a</strong>.</p>
  
  <p>Any ideas why? What am I missing? How to get the parameter working?</p>
  
  <p>EDIT ***</p>
  
  <p>Model does not pass the values either. Sorry for confusion.
  The model values set up initially in Index action are passed to SomeAction. Otherwise any update to these values in the form are not visible by SomeAction.</p>
  
  <p>This is the controller</p>
  
  <pre><code>    [HttpPost]
      public ActionResult SomeAction(SomeModel model, string actionattribute)
      {
          ViewBag.Msg = "actionattribute: " + actionattribute;
          ViewBag.Msg += "&lt;br /&gt;Counter: " + model.Counter;
          ViewBag.Msg += "&lt;br /&gt;Code: " + model.Code;
          ViewBag.Msg += "&lt;br /&gt;Type: " + model.Type;
  
          return this.PartialView("_SomePartialView", model);
      }
  </code></pre>
  
  <p>EDIT 2 ***</p>
  
  <ol>
  <li><p>I can't use Ajax.BeginForm instead of Ajax.ActionLink because I already have Html.BeginForm for the page and can't nested ajax forms inside it.</p></li>
  <li><p>The _SomePartialView is a partial view, the model it uses is a property of a 'main' model and is passed to this partial view _SomePartialView via</p>
  
  <p>@Html.Partial("~/Views/Main/_SomePartialView.cshtml", Model.SomeProperty)</p></li>
  </ol>