You could try:
<% using (Html.BeginRouteForm("ProductSearchRoute", FormMethod.Get)) %>
Kindness,
Dan
Daniel Elliott
2009-09-16 06:39:11
You could try:
<% using (Html.BeginRouteForm("ProductSearchRoute", FormMethod.Get)) %>
Kindness,
Dan
If I understand you correctly, you're trying to dynamically alter the location the form posts to, based on the inputs of the form?
You'll need to use javascript for this, to alter the form's target attribute. The BeginForm() is for rendering the form tag, which from an html perspective, is static.