ASPxClientControlCollection.ForEachControl(action) Method
In This Article
Performs the specified action for each control in the collection.
#Declaration
TypeScript
ForEachControl(
action: ASPxClientControlAction
): void
#Parameters
Name | Type | Description |
---|---|---|
action | ASPx |
An ASPx |
#Remarks
The code sample below demonstrates the use of the ForEachControl method.
function ExpandAll(s, e) {
ASPxClientControl.GetControlCollection().ForEachControl(function (c) {
if(c instanceof ASPxClientRoundPanel)
c.SetCollapsed(false);
});
}
See Also