BaseValidator::ControlToValidate Property

 

Gets or sets the ID of the control to validate. The default value is Empty. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public:
[BindableAttribute(false)]
property String^ ControlToValidate {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The ID of the control to validate.

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

.NET Framework
Available since 1.1
Return to top
Show: