The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientControlBase.GetParentControl Method

Returns a client instance of the control that is the parent for a specified control.

Declaration

GetParentControl(): any

Returns

Type Description
any

An object that is a control parent of a specified control.

Remarks


var predicate = function(control) { // Gets standalone editors nested inside the form layout control
    return control.GetParentControl() === FormLayout &&
        control instanceof ASPxClientEdit; 
};
Note

Online demo To review the full code example mentioned above, refer to the Data Editors - Detecting Changes (Dirty Form) online demo.

See Also