<asp:TextBox> Vs <input type="text"> Vs Html.TextBox

asp.net-mvc, asp.net-mvc-3, html.textbox

Solution

Forget about server side controls in ASP.NET MVC. Everything containing `runat="server"` is a big NO in ASP.NET MVC. Won't work in Razor anyways. There are no pros and cons. Server side controls should never be used so there's nothing to compare. Simply use HTML helpers such as `Html.EditorFor` and `Html.TextBoxFor`.

Problem

I am working in asp.net application, adding functionalities like form elements, validation and populating data from DB. I can use ASP: controls but I am wondering is it possible to use `HTML.TextBox` or `<input type="text">` If I can use `<input type="text"` or `Html.TextBox` what are the pros and cons of using them versus using

Original source