If an ASP.NET MVC application using Data Annotations...
<%= Html.ValidationSummary("Things broke...") %>
<% Html.EnableClientValidation(); %>
And we post to the server. Won't we still hit the action, check the ModelState.IsValid and come back to the original view with the validation error. Is it still considered client side validation if we're hitting the server (via a post)?
Html.ValidationMessageFor(m => m.FirstName)istead ofHtml.ValidationMessage('FirstName')to get type safety against the Model - you can also pre-compile your pages to pick up any issues with property names.