In your current ASP.NET MVC web application, you want accepts E-mail input field through the application’s form. When viewing the source from a browser, you find the following code:
E-mail Address: <input id=”email” name=”email” size=”20”
type=”text” value=”” /> which of the following Razor syntax help you to achieve this goal?

 Posted by Rajkatie on 1/31/2015 | Category: ASP.NET MVC Interview questions | Views: 21391 | Points: 40
Select from following answers:
  1. @Html.EditorFor(model => model.Email)
  2. @Html.TextBox(“email”, Request[“email”],new{@placeholder="you@your.com"}
  3. @Html.TextBox(“email”, Request[“email”], new { size = 20 })
  4. All Above

Show Correct Answer


| Alert Moderator 

Comments or Responses

Login to post response