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)

<BindableAttribute(False)>
Public Property ControlToValidate As String

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: