This documentation is archived and is not being maintained.

ControlToValidate Property (Common)

.NET Framework 1.1

Sets or returns the ID of the control to validate. The default value is empty.

public string ControlToValidate {
   get,
   set
}

Inheritance

The following is a list of the classes that inherit the ControlToValidate property from the BaseValidator class.

Remarks

Throws an exception during pre-rendering if the ID is empty or not valid.

See Also

Applies to: BaseValidator Class

Show: