CompareValidator::ControlPropertiesValid Method ()
.NET Framework (current version)
Determines whether the properties to be validated are valid. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
Return Value
Type: System::Booleantrue if control properties to be validated are valid; otherwise, false.
| Exception | Condition |
|---|---|
| ArgumentException | the ControlToValidate property is empty. -or- the control to compare does not exist. -or- the control to validate and the control to compare are the same control. -or- the values of the two controls are not comparable. |
.NET Framework
Available since 1.1
Available since 1.1
BaseValidator
CompareValidator Class
System.Web.UI.MobileControls Namespace
Validation Controls
Show: