Tuesday, March 4, 2014

Use MVC Html.BeginForm with GET method and action parameter

@using (Html.BeginForm("Details", "Home", new { name = Model.Name }, 
                        FormMethod.Get, new { name = "foo_bar" }))

No comments:

Post a Comment