ValidationSummary.FormToValidate Właściwość

Definicja

Pobiera lub ustawia identyfikator Form , który chcesz zweryfikować. Wartością domyślną jest ciąg pusty (""). Ten interfejs API jest nieaktualny. Aby uzyskać informacje o sposobie tworzenia aplikacji mobilnych ASP.NET, zobacz Mobile Apps & Sites with ASP.NET (Aplikacje mobilne & 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 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ż