BaseValidator.ControlToValidate Propriété

Définition

Obtient ou définit l'ID du contrôle à valider. La valeur par défaut est Empty. Cette API est obsolète. Pour plus d’informations sur le développement d’applications mobiles ASP.NET, consultez Applications mobiles & Sites avec 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

Valeur de propriété

ID du contrôle à valider.

Attributs

Remarques

Lève une exception pendant le pré-rendu si l’ID est vide ou non valide.

S’applique à

Voir aussi