title: How to pass both model value & text value to controller in mvc?
body: <p>I want to pass two values from view to controller . i.e., @Model.idText and value from textbox. here is my code:</p>
  
  <pre><code>    @using HTML.BeginForm("SaveData","Profile",FormMethod.Post)
      {
      &lt;a href="someLink"&gt;@Model.idText&lt;/a&gt;
      &lt;input type="text" name="textValue"/&gt;
      &lt;input type="submit" name="btnSubmit"/&gt;
      }
  </code></pre>
  
  <p>But problem is if i use "Url.ActionLink() i can get @Model.idText . By post action i can get textbox value using FormCollection . But i need to get both of this value either post or ActionLink</p>