Skip to main content

ASPxClientControlCollection.GetControlsByType(type) Method

Returns all controls of the specified type.

Declaration

GetControlsByType(
    type: any
): any[]

Parameters

Name Type Description
type any

The object specifying the client control type.

Returns

Type Description
any[]

An array of all client controls found.

Remarks

The code sample below demonstrates how to use the GetControlsByType method to obtain all ASPxClientRoundPanel objects from the collection.

var roundPanels = ASPxClientControl.GetControlCollection().GetControlsByType(ASPxClientRoundPanel);
See Also