Język

ValidationSummary.FormToValidate Właściwość

Definicja

Pobiera lub ustawia identyfikator Form elementu, który chcesz zweryfikować. Wartość domyślna to pusty ciąg (""). Ten interfejs API jest przestarzały. Aby uzyskać informacje na temat tworzenia aplikacji mobilnych ASP.NET, zobacz Mobile Apps & Witryny z ASP.NET.

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

Wartość właściwości

Identyfikator obiektu Form , który chcesz zweryfikować.

Atrybuty

Uwagi

Jeśli chcesz użyć walidacji, ta właściwość musi zawierać wartość reprezentującą prawidłowy identyfikator formularza. Właściwość FormToValidate można ustawić w kodzie lub deklaratywnie, tak jak w przykładzie ValidationSummary dla klasy.

Dotyczy

Zobacz też