In my page i have
@using (Html.BeginForm("list", "menu", FormMethod.Get))
{
<div>
Show categories:
@Html.DropDownList("groupName", (SelectList)ViewBag.groups)
<input id="Submit1" type="submit" value="Show" />
</div>
}
Regarding the option the user choose i generate a list and the Querystring in my address going to be like :
localhost/menu/list?groupName=controlpanel
My problem is when i use HtmlActionLink for example :
@Html.ActionLink("Title", "List", new { foo = item.foo})
What i got in result is result is :
localhost/menu/List?foo=123
instead of :
localhost/menu/List?foo=123&groupName=controlpanel
Am i missing something ??