BaseValidator.ControlToValidate Propiedad

Definición

Obtiene o establece el Id. del control que se va a validar. El valor predeterminado es Empty. Esta API está obsoleta. Para obtener información sobre cómo desarrollar aplicaciones móviles ASP.NET, consulte Mobile Apps & Sites with ASP.NET.

public:
 property System::String ^ ControlToValidate { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(false)]
[System.ComponentModel.TypeConverter(typeof(System.Web.UI.Design.MobileControls.Converters.ValidatedMobileControlConverter))]
public string ControlToValidate { get; set; }
[<System.ComponentModel.Bindable(false)>]
[<System.ComponentModel.TypeConverter(typeof(System.Web.UI.Design.MobileControls.Converters.ValidatedMobileControlConverter))>]
member this.ControlToValidate : string with get, set
Public Property ControlToValidate As String

Valor de propiedad

El Id. del control que se va a validar.

Atributos

Comentarios

Produce una excepción durante la representación previa si el identificador está vacío o no es válido.

Se aplica a

Consulte también