ASPxClientEdit Class
Serves as the base object for all the editors that support validation.
#Declaration
TypeScript
declare class ASPxClientEdit extends ASPxClientEditBase
#Remarks
This object is the base for the client-side editors which allow its value to be validated. It implements the common client-side functionality which allows you to respond to focus moving in or out of the editor, and perform different validation related operations.
#How to clear all editors in a container
For a full example, see Data Editors - Inplace Validation demo.
<script type="text/javascript">
function clearEditors(s, e) {
var container = document.getElementsByClassName("clientContainer")[0];
ASPxClientEdit.ClearEditorsInContainer(container);
}
</script>
<div id="ServerContainer" class="clientContainer" runat="server">
<%--Editors that are cleared on the Clear button click--%>
…
</div>
<dx:ASPxButton ID="btnClear" runat="server" AutoPostBack="False" Text="Clear" CausesValidation="False">
<ClientSideEvents Click="clearEditors" />
</dx:ASPxButton>
See also Data Editors - Null Text demo.
#Inheritance
See Also