@Html.BeginForm Displaying “System.Web.Mvc.Html.MvcForm” on Page
The recommended way to generate a form is the following: Alternatively you could do this: The reason why your original approach did not work is because BeginForm() writes directly to the output.