aspnet-devexpress-dot-web-dot-aspxbutton-1e752fd4.md
Specifies whether invisible editors should be validated together with visible ones.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue(false)]
public bool ValidateInvisibleEditors { get; set; }
<DefaultValue(False)>
Public Property ValidateInvisibleEditors As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true to validate both visible and invisible editors; false to validate only visible editors.
|
Generally, if the ASPxButton.CausesValidation property is set to true, a click on the ASPxButton initiates validation of editors that are visible on a page. In this case, editors that have been rendered on the page, but that are not currently visible (being contained within an inactive tab page, for instance) are not automatically validated. The ValidateInvisibleEditors property is useful to validate all the required editors within the page, regardless of their visibility state.
Note that you can use the ASPxButton.ValidationGroup or ASPxButton.ValidationContainerID property to specify the naming container or group of controls, for which the button initiates validation.
You can also initiate validation manually by using the client ASPxClientEdit.ValidateGroup, ASPxClientEdit.ValidateEditorsInContainer, ASPxClientEdit.ValidateEditorsInContainerById methods, and their server-side analogues.
See Also