ASPxEdit.AreEditorsValid(Control) Method
In This Article
Verifies whether visible editors with the specified settings are valid.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
container | Control | A Control object that specifies the container. |
#Returns
Type | Description |
---|---|
Boolean |
|
#Remarks
Note
The Are
#Example
protected void btnSubmit_Click(object sender, EventArgs e)
{
if (ASPxEdit.AreEditorsValid(FormPanel)) {
// TODO: Write data to database
FormPanel.Visible = false;
SuccessPanel.Visible = true;
btnAgain.Focus();
// Intentionally pauses server-side processing, to demonstrate the Loading Panel functionality.
Thread.Sleep(2000);
}
}
See Also