CompareValidator::ControlToCompare Property
.NET Framework (current version)
Gets or sets the ID of the input control to compare. The default value is an empty string (""). 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)
public: [BindableAttribute(false)] property String^ ControlToCompare { String^ get(); void set(String^ value); }
Specifies the ID of the control to which a value comparison will be made. You can use the ValueToCompare property as an alternative. If both are specified, the value of the ControlToCompare property takes precedence.
.NET Framework
Available since 1.1
Available since 1.1
CompareValidator::ControlToCompare
CompareValidator Class
System.Web.UI.MobileControls Namespace
Introduction to the CompareValidator Control
Show: