How to: Validate All Editors on a Page
Call one of the following methods with a null or String.Empty parameter to validate all editors on a page.
- ASPxEdit.ValidateEditorsInContainer
ASPxClientEdit.ValidateEditorsInContainer
function OnClick(s, e) { if (ASPxClientEdit.ValidateEditorsInContainer(null)) alert("OK"); else alert("INVALID"); }
ASPxClientEdit.ValidateEditorsInContainerById
function OnClick(s, e) { if (ASPxClientEdit.ValidateEditorsInContainerById(String.Empty)) alert("OK"); else alert("INVALID"); }