I'm looking at this example: http://www.asp.net/mvc/tutorials/older-versions/models-(data)/validation-with-the-data-annotation-validators-cs

The example uses this syntax:

<label for="Name">Name:</label>
<%= Html.TextBox("Name") %>
<%= Html.ValidationMessage("Name", "*") %>

Is this needed to have a server side validation using those Attributes?

Related posts

Recent Viewed