I'm developing a website using .NET 3.5 with MVC 2.0. For server side validations I'm using ComponentModel.DataAnnotations. These validatio开发者_StackOverflow社区ns are reflected to client side by html helper's method Html.EnableClientValidation()
.
This scheme works fine for except that it triggers the validation on blur event of each form control whereas I want to have it triggered on form's submit event.
精彩评论