I have a form in my view:
@using(Html.BeginForm("Details", "Category", FormMethod.Get))
{
<input type="text" name="param1" />
<input type="submit" value="OK" />
}
This form is on page with parameter ~/category/details?view=list
I get value of view parameter from route query string and want to pass it to request generated by my form. I want to have request query string like ?param1=inputedText&view=list
instead of just ?param1=inputedText
. How can I do that without adding, for example, hidden input to my form and setting view
value to it?