Validation Server Control
 
Disabling the Client Side Validation
 
The client side validation can be disabled for any of the validation controls by assigning the value False to the validation control's EnableClientScript property. This property is true by default
 
<asp:RequiredFieldValidator ID=? RequiredFieldValidator1? Runat=?server? ErrorMessage=?*? ControlToValidate=?mytextbox? EnableClientScript=?false?>
 
The client side validation capability can removed programmatically as given below: Protected void Page_Load (Object sender , EventArgs e)
 
{
RequiredFieldValidator1.EnableClientScript=false;
}
 
The client side capability validation can removed for all validation controls programmatically as given below:
 
Protected void Page_Load (Object sender , EventArgs e)
{
foreach(BaseValidator basevalidator in Page.Validators)
{
basevalidator. EnableClientScript=false;
}
RequiredFieldValidator1. EnableClientScript=false;
}