Here's how to integrate the ASP.NET CustomValidator control with client-side code to create a page that uses Ajax and server-side code to validate data at the browser. In a comment to a tip in our ...
While you can create classes that contain their own validation code, there are scenarios where it makes sense to separate validation code from the properties it validates using DataAnnotations. In a ...