Skip to main content
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.v24.1.dll

NuGet Package: DevExpress.Web

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