System.Web.UI.WebControls.BaseValidator.ControlPropertiesValid Method

Determines whether the control specified by the BaseValidator.ControlToValidate property is a valid control.

Syntax

protected virtual bool ControlPropertiesValid ()

Returns

true if the control specified by BaseValidator.ControlToValidate is a valid control; otherwise, false.

Remarks

The BaseValidator.ControlPropertiesValid method is a helper method used primarily by the BaseValidator.PropertiesValid property to determine whether the BaseValidator.ControlToValidate property contains a valid input control. To be a valid input control, the BaseValidator.ControlToValidate property must be set to some value and that value must be a control on the page that supports validation.

Note:

This method is used primarily by control developers.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0