I would like to pass object RouteValues
parameter to that button
<div class="wrapper">
<div class="search-box">
<form class="form-inline">
<div class="form-group">
<input type="text" name="searchString" value="@Model.searchString" class="search-text form-control" placeholder="Search..."/>
</div>
<button type="submit" class="btn btn-info">
Search
</button>
</form>
</div>
</div>
I know how to do it with Html.ActionLink, but I don't know where to put it in that button class. Routevalues that I would like to pass look like this:
new { sortOrder = Model.CurrentSort}
Is there any easy way to pass those here to my button?