This documentation is archived and is not being maintained.

BaseValidator.PropertiesValid Property

Gets a value that indicates whether the control specified by the ControlToValidate property is a valid control.

[Visual Basic]
Protected ReadOnly Property PropertiesValid As Boolean
[C#]
protected bool PropertiesValid {get;}
[C++]
protected: __property bool get_PropertiesValid();
[JScript]
protected function get PropertiesValid() : Boolean;

Property Value

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

Exceptions

Exception Type Condition
HttpException No value is specified in the ControlToValidate property.

-or-

The input control specified by the ControlToValidate property is not found on the page.

Remarks

Use the PropertiesValid property to determine whether the ControlToValidate property contains a valid input control. To be a valid input control, the ControlToValidate property must set to a control on the page.

Note   This property is primarily used by control developers.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

BaseValidator Class | BaseValidator Members | System.Web.UI.WebControls Namespace | ControlPropertiesValid | CheckControlValidationProperty

Show: