ASPxClientValidationCompletedEventArgs.isValid Property

Gets a value specifying whether the validation has been completed successfully.

Declaration

isValid: boolean

Property Value

Type Description
boolean

true if the validation has been completed successfully; otherwise, false.

Examples

The complete sample project is available in the DevExpress Code Central database at E942.

<script runat="server">
     protected void ASPxGlobalEvents1_ValidationCompleted(object sender, 
     DevExpress.Web.ValidationCompletedEventArgs e) {
     lErrorMessageNotEqual.ClientVisible = !tbPassword.Value.Equals(tbConfirmedPassword.Value);
     }
</script>
...
<dxge:ASPxGlobalEvents id="ASPxGlobalEvents1" runat="server" 
OnValidationCompleted="ASPxGlobalEvents1_ValidationCompleted">
    <ClientSideEvents ValidationCompleted="OnValidationCompleted" />
</dxge:ASPxGlobalEvents>
...
See Also