Rediger

Del via


ValidationSummary.FormToValidate Property

Definition

Gets or sets the identifier of the Form that you want to validate. The default value is an empty string (""). This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with 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

Property Value

The identifier of the Form that you want to validate.

Attributes

Remarks

If you want to use validation, this property must contain a value that represents a valid form ID. The FormToValidate property can be set in code or declaratively, as in the example for the ValidationSummary class.

Applies to

See also