I'm passing in some model information to an ActionLink, but I'd also like to provide the action with the values of some inputs on the page. For example, if I had something like this:
<input Name="MyInput" />
<%: Html.ActionLink("MyAction", "MyController", Model.Value);
I'd like the action to be aware of both Model.Value (which is passed in via parameter), and the value of MyInput. Normally I would use a FormCollection, but I can't in this instance since I'm not doing a submit.
So how can I pass the value of MyInput to MyAction? Would I have to add a property named MyInput to my model? Assuming that would work, is there an easier way, or at least one that doesn't involve modifying the model?