What are the HTML attributes that have to specify in @Html.BeginForm()?

 Posted by Prabhukiran345 on 4/17/2013 | Category: ASP.NET MVC Interview questions | Views: 49979 | Points: 40
Select from following answers:
  1. @Html.BeginForm("ActionName","ControllerName");
  2. @Html.BeginForm("ActionName","ControllerName",FormMethod.Post,new{id="Form1",Name="Form1",enctype="multipart/form-data"});
  3. @Html.BeginForm("ActionName","ControllerName",FormMethod.Get,new{id="Form1",Name="Form1",enctype="multipart/form-data"});
  4. @Html.BeginForm("ActionName","ControllerName",enctype="multipart/form-data");
  5. All Above

Show Correct Answer


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response

More Interview Questions by Prabhukiran345