Breyta

Deila með


RequiredFieldValidator.InitialValue Property

Definition

Gets or sets the base value for the validator. The default value is null. 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 ^ InitialValue { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
public string InitialValue { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.InitialValue : string with get, set
Public Property InitialValue As String

Property Value

The base value for the validator.

Attributes

Remarks

During validation, the validator compares a submitted value to the value of the InitialValue property. If the values are the same, the validator assumes that the value for the required field has not been filled in and reports a validation error.

Applies to

See also