FormView.EnableModelValidation Propriedade

Definição

Obtém ou define um valor que indica se um controle de validador vai manipular exceções que ocorrem durante as operações de inserção ou atualização.Gets or sets a value that indicates whether a validator control will handle exceptions that occur during insert or update operations.

public:
 virtual property bool EnableModelValidation { bool get(); void set(bool value); };
public virtual bool EnableModelValidation { get; set; }
member this.EnableModelValidation : bool with get, set
Public Overridable Property EnableModelValidation As Boolean

Valor da propriedade

Boolean

true se um controle de validador vai manipular exceções que ocorrem durante operações de inserção ou atualização; caso contrário, false.true if a validator control will handle exceptions that occur during insert or update operations; otherwise, false. O padrão é false.The default is false.

Aplica-se a