I have two text inputs, content of which needs to be passed to a certain action as parameters when a button is clicked. I'm using MVC3 View:
<input name="input2" type="text" class="inputfield" id="datepicker_1" /></td>
<input name="input2" type="text" class="inputfield" id="datepicker_2" /></td>
@Html.Action("Search", ...)
Controller: public ActionResult Search(...) I suppose the object routeValues or RouteValueDictionary should be used in the @Html.Action for this. These object are confusing for me a bit. Could anyone clarify this for me please. Thank you!