Html.TextBox amd Html.DropDownList are not strongly typed and therefore they do not require a strongly typed representation. This means that we can hardcode any name we want. On the other hand, Html.TextBoxFor and Html.DropDownListFor are strongly typed and require a strongly typed representation, and this name is derived from the lambda expression.
Strongly configured HTML helpers also provide compile-time checking.
Since in real time we mainly use strongly typed views, we prefer to use Html.TextBoxFor and Html.DropDownListFor for our colleagues.
Whether we use Html.TextBox and Html.DropDownList OR Html.TextBoxFor and Html.DropDownListFor, the end result is the same, that is, they create the same HTML.
Strongly typed HTML helpers have been added to MVC2.
Yogesh Yadav Apr 16 '15 at 3:32 2015-04-16 03:32
source share