Skip to main content
A newer version of this page is available. .
Tab

TemplateContainerBase.FindTemplateControl(Control, String, String) Method

Searches a specific control’s template container for a control specified by its id.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public static Control FindTemplateControl(
    Control control,
    string templateContainerID,
    string id
)

Parameters

Name Type Description
control Control

A Control that specifies the DevExpress web control within whose template the specified control should be searched.

templateContainerID String

A string value specifying the template container’s client identifier.

id String

A string value specifying the identifier of the control to search for.

Returns

Type Description
Control

A Control representing the found control. null if the specified control is not found.

See Also