Tag Archives: CustomValidator in ASP.NET

Using server-side validation in ASP.NET CustomValidator control

In this post I will explain how to use CustomValidator server control for server-side validation. Using server-side validation, CustomValidator can take advantage of power of the server-side languages C#, VB etc. For example, we can validate an input control’s value using data from the database. In the following example we will see how to validate… Read More »

Using client-side validation in ASP.NET CustomValidator control

CustomValidator server control in ASP.NET is used to validate an input control using a custom function. It provides programmer with the flexibility to use a custom function for validating an input control. CustomValidator can validate a control using a server-side function or a client-side function. Server-side function is written in server side language like Visual… Read More »