Text version of the video
Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our YouTube channel. Hope you can help.
All ASP .NET Text Articles
All ASP .NET Slides
All Dot Net and SQL Server Tutorials in English
All Dot Net and SQL Server Tutorials in Arabic
CustomValidator control allows us to write a method with a custom logic to handle the validation of the value entered. If none of the other
validation controls, serve our purpose, then the CustomValidator can be used.
Just like any other validation control, CustomValidator can be used for both client and server side validation. Client side and server side
validation functions, needs to be written by the developer, and associate them to the custom validator control.
The following are the properties that are specific to the CustomValidator control
ClientValidationFunction - Specifies the name of the client side validation method.
ValidateEmptyText - Specifies whether the validator validates the control, when the text of the control is empty. By default this property is false,
and both the client side and server side validation functions will not be invoked, if the associated input control is empty.
Events specific to the CustomValidator control
OnServerValidate - Specifies the name of the server side validation method.