Thursday, June 25, 2015

Prefer Html.EditorFor over Html.TextBoxFor

From the discussion below I learned that it is preferrable (besides making the code more maintainable) to use Html.EditorFor over Html.TextBoxFor.

http://stackoverflow.com/questions/31002078/why-validation-is-not-working-with-html-textboxfor-but-is-when-using-html-editor

No comments:

Post a Comment